This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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]

turning off the "missing braces around initializer"


Hi,

I'm using gcc version 2.96. I have some code that compiles fine, but when I add the "-Wall" option to the compilation command line, I get error messages saying "missing braces around initializer".

I could add the braces to the code, but what I'd really like to do is simply turn off this warning, while leaving the other warnings on. Is there a command line option to gcc to do this?

Thanks,
/John Vincent.

_________________________________________________________________
Sign-up for a FREE BT Broadband connection today! http://www.msn.co.uk/specials/btbroadband



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