This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
unwanted compiler warnings with -pedantic
- To: cygwin at sourceware dot cygnus dot com
- Subject: unwanted compiler warnings with -pedantic
- From: Shayne Steele <steele at cs dot fsu dot edu>
- Date: Tue, 24 Oct 2000 22:25:15 -0400 (EDT)
Hello
I recently upgraded from B20.1 to the net release 1.1.x.
My GCC compiler options include -Wall -pedantic. My program use to
compile with no errors or warnings, but after the upgrade (and modifying
my makefile to point to the new locations of the libraries) I got a lot
of 'extra' warnings, such as:
c:/cygwin/usr/include/mingw32/stdlib.h:349: warning: ANSI C does not
support `long long'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/mmsystem.h:1195:
warning: ANSI C doesn't support unnamed structs/unions
usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/winbase.h:814:
warning: ANSI C doesn't support unnamed structs/unions
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/winnt.h:2269:
warning: ANSI C doesn't support unnamed structs/unions
These warnings are annoying, how do I get rid of them? I just want
warnings on the code I wrote. I want to keep using the net release and
the -pedantic option (if at all possible).
Thank you for your help.
--
Shayne Steele Graduate Student in Computer Science at FSU
steele@cs.fsu.edu http://www.cs.fsu.edu/~steele/
With great abilities come great responsibilities. -- Stan Lee
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com