Hi, I'm reporting this against MinGW 8 on Debian Testing. The math.h header doesn't define MATH_ERRNO and MATH_ERREXCEPT, which are convenience macros always to be defined as 1 or 2 respectively.
math_errhandling should be an identifier for an integer—not necessarily a macro —that is one of the constants, or the bitwise or of both, according to how errors are raised for math functions. If Windows is non-conforming and sets neither errno nor raises floating-point exceptions as required for math functions, then math_errhandling should be 0; this at least matches up with how GCC behaves in __FAST_MATH__ mode, and lets programs Do The Right Thing.
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public