turning off the "missing braces around initializer"

John Vincent jpv50@hotmail.com
Wed Jun 11 20:37:00 GMT 2003


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



More information about the Gcc-help mailing list