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

--- Comment #5 from Daniel Krügler <daniel.kruegler at googlemail dot com> 
2012-06-10 21:26:27 UTC ---
(In reply to comment #4)
> (In reply to comment #2)
> > This is exactly: 
> > 
> > http://gcc.gnu.org/wiki/VerboseDiagnostics#missing_static_const_definition
> 
> I agree. But let me just add that the first of the examples provided there
> ("return argc > 1 ? S::a : S::b;") should no longer me listed (or be 
> modified),
> because that was fixed with C++11 due to 
> 
> http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#712
> 
> This situation should no longer require a definition for S::a or S::b.

I just recognize that this example *does* require a definition for S::a and
S::b in C++11 mode. I open a new issue for this.

Reply via email to