[cfe-dev] error: initialized if it is a static const integral data member

John McCall rjmccall at apple.com
Sat Feb 20 13:44:36 PST 2010

On Feb 20, 2010, at 3:06 AM, Sebastian Redl wrote:
> John McCall wrote:
>> Don't get me wrong, the effort is appreciated.  I'm just letting you know that we do consider this an error in the user program.  We could probably reasonably support this as an extension in gnuc++98 mode;  we'd have to evaluate its implications, though.
> Don't we have to support this for C++0x anyway?

Yes, and we will need to evaluate its implications then, too. :)  C++0x constant semantics are a significant extension.


More information about the cfe-dev mailing list