This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: Problem with ctype.h
- To: hjl@lucon.org (H.J. Lu)
- Subject: Re: Problem with ctype.h
- From: Roland McGrath <roland@frob.com>
- Date: Mon, 26 Oct 1998 18:25:45 -0500
- Cc: libc-hacker@cygnus.com
- Emacs: it's like swatting a fly with a supernova.
> 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.