Problem with ctype.h

Roland McGrath roland@frob.com
Mon Oct 26 15:28:00 GMT 1998


> I added -ansi to get rid of "unix". Or should I just ignore the
> failure on "unix"?

You miss the point.  Using -ansi -D_POSIX_SOURCE is the right thing for a
strict POSIX environment, and -ansi -pedantic is the right thing for a
strict ANSI/ISO C environment.  The only problem I had was complaining
about violations of ANSI/ISO C when you used -ansi -D_POSIX_SOURCE; if
ANSI/ISO C compliance is what's being tested, then -ansi -pedantic must be
used.



More information about the Libc-hacker mailing list