Allow C/C++ extensions

MinGW declares any standard functions not part of the ISO C standard
in #ifndef __STRICT_ANSI__ blocks; Gcc defines __STRICT_ANSI__ with
-std=c++11; Pass 'ext' to the C++11 macro to get -std=gnu++ll, which allows
all those extensions we use.
This commit is contained in:
John Ralls 2014-06-15 13:21:21 -07:00
parent 949702d04d
commit 273648ea80

View File

@ -62,7 +62,7 @@ AM_PROG_CC_C_O
AC_GNU_SOURCE AC_GNU_SOURCE
AC_PROG_INTLTOOL AC_PROG_INTLTOOL
# Ensure the compiler supports C++ 11: # Ensure the compiler supports C++ 11:
AX_CXX_COMPILE_STDCXX_11(noext) AX_CXX_COMPILE_STDCXX_11(ext)
AC_SUBST(GNUCASH_MAJOR_VERSION) AC_SUBST(GNUCASH_MAJOR_VERSION)