This is the mail archive of the gcc-bugs@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]

[Bug c/16667] GCC allows invalid syntax in C99 designated initializers


------- Additional Comments From segher at kernel dot crashing dot org  2004-07-22 06:06 -------
I just discovered that with -pedantic GCC outputs the following warning:

warning: obsolete use of designated initializer without `='

Perhaps this should be unconditional on -pedantic?  Or better yet, upgraded
to an error.

-- 


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


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