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] |
Synopsis: wrong `const' behaviour
State-Changed-From-To: open->closed
State-Changed-By: nathan
State-Changed-When: Fri Jun 29 06:39:19 2001
State-Changed-Why:
Not a bug. a const object must have an initializer [8.5]/9
Yeay even though it has no members. You need an '= {}'.
I think there might be a defect report about that.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3476&database=gcc
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |