This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
turning off the "missing braces around initializer"
- From: "John Vincent" <jpv50 at hotmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 11 Jun 2003 20:37:09 +0000
- Subject: turning off the "missing braces around initializer"
- Bcc:
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