[Bug c++/12615] [3.3 Regression] initializer syntax for POD structs gives parse error

gdr at integrable-solutions dot net gcc-bugzilla@gcc.gnu.org
Tue Oct 14 21:40:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From gdr at integrable-solutions dot net  2003-10-14 21:40 -------
Subject: Re:  [3.3 Regression] initializer syntax for PAD structs gives parse error

"bruno at clisp dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| Nevertheless, the GCC documentation also says that "These extensions are available in C 
| and Objective-C.  Most of them are also available in C++." IMO this means that g++ should 
| support it.

IIRC the documentation does not list it as specifically supported by
the C++ front-end.  It is not valid C++, nor valid C99.  There is a
standard way to express an equivalent construct.  I  would strongly
suggest you use it. 

-- Gaby



More information about the Gcc-bugs mailing list