This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/37476] Initialising a union member of a struct without braces
- From: "jsm28 at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Sep 2008 14:46:23 -0000
- Subject: [Bug c/37476] Initialising a union member of a struct without braces
- References: <bug-37476-16695@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from jsm28 at gcc dot gnu dot org 2008-09-11 14:46 -------
This is a stylistic warning from -Wall that the code is potentially confusing,
not that the code is invalid. If you don't want such warnings, don't use
-Wall, or use -Wno-missing-braces.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37476