mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-11-23 09:26:27 -06:00
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:
parent
949702d04d
commit
273648ea80
@ -62,7 +62,7 @@ AM_PROG_CC_C_O
|
||||
AC_GNU_SOURCE
|
||||
AC_PROG_INTLTOOL
|
||||
# Ensure the compiler supports C++ 11:
|
||||
AX_CXX_COMPILE_STDCXX_11(noext)
|
||||
AX_CXX_COMPILE_STDCXX_11(ext)
|
||||
|
||||
|
||||
AC_SUBST(GNUCASH_MAJOR_VERSION)
|
||||
|
Loading…
Reference in New Issue
Block a user