c++/3476: wrong `const' behaviour

nathan@gcc.gnu.org nathan@gcc.gnu.org
Fri Jun 29 06:39:00 GMT 2001


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



More information about the Gcc-bugs mailing list