On 9/10/2015 22:42, Thomas Uhle wrote: > If compiling with 'gcc -std=c++11' for instance, gcc defines > __STRICT_ANSI__ and, thus, the mathematical constants in math.h that are > also defined in POSIX.1 (see > http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/math.h.html for > reference) are undefined, although _POSIX_C_SOURCE or the former > _POSIX_SOURCE is set appropriately. > Adding "defined(_POSIX_C_SOURCE) || defined(_POSIX_SOURCE) || ..." to > the list of guards in math.h:39 fixes the issue. Please see the attached > patch. >
Applied to master and v4.x.
0xD4EBC740.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------
_______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public