This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem when compiling signal.h in GCC with strict ISO C options turned on


I get this message a few times when I use gcc with strict settings.
On my own installation I gave the unnamed structs and unions an name and
this seemed to resolve this.
Although this doesn't do more then generate a warning when using a very
strict c compiler it should be resolved i think :)

Message:
/usr/include/cygwin/signal.h:48: error: ISO C doesn't support unnamed
structs/unions

gcc flags:
-ggdb -ansi -W -Wall -Werror -pedantic-errors -O2 -Wformat=2 -Wno-unused
-DPOSIX -DPOSIX_SOURCE

Grtz, Bart van der Werf



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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