This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem with ctype.h


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]