Listed below is a C source file:
#include <math.h>
int isnormal(double aVal);
It compiles without error under MinGW-1.1.tar.gz.
When I install mingw-runtime-2.0-20020412.tar.gz on
top of MinGW-1.1.tar.gz and attempt to compile it, I
get the message:
test.c:2: parse error before `sizeof'
Logged In: YES
user_id=11494
This is mine.
According to C99 std, isnormal is a macro as are the other
is*(). I'll protect that block of macros in next release
with:
#if defined (__STDC_VERSION__) && __STDC_VERSION__ >=
199901L
Danny
Logged In: YES
user_id=11494
I've added C99/__STRICT_ANSI__ guards. If you don't want
the standard macro, either set std to C89 or undef the C99
macro version before putting in your own function.