[Bug c/14713] unbraced initialization of a flexible array member

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Wed Mar 24 15:46:00 GMT 2004


------- Additional Comments From bangerth at dealii dot org  2004-03-24 15:46 -------
gcc 3.3 and later report this: 
 
g/x> /home/bangerth/bin/gcc-3.3.4-pre/bin/gcc -c x.c 
x.c:6: warning: excess elements in struct initializer 
x.c:6: warning: (near initialization for `a1') 
 
This is also what icc reports, so I assume that it is the correct 
error warning message. 
 
W. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |3.3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14713



More information about the Gcc-bugs mailing list