Package: mingw32
Version: 3.4.4.20050522.1-2
Severity: normal

Compiling any trivial program which includes unistd.h with
_NO_OLDNAMES defined fails with the following sorts of errors:

/usr/lib/gcc/i586-mingw32msvc/3.4.4/../../../../i586-mingw32msvc/include/unistd.h:23:
error: syntax error before "off_t"
...

This doesn't happen for "normal" gcc, and its useful for me to be able
to define that macro (since lots of astronomy code uses "WCS" world
coordinate system functions, whose names conflict with the wcs*
functions, but don't conflict if that macro isn't defined).

-- 
Clear skies,
Justin

#define _NO_OLDNAMES    1
#include <unistd.h>
int main(){return 0;}


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to