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

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-06-10 
21:48:51 UTC ---
(In reply to comment #1)
> I would like to add that exactly the same example is still the main example of
> the otherwise valid explanations in
> 
> http://gcc.gnu.org/wiki/VerboseDiagnostics#missing_static_const_definition
> 
> This particular example should be modified as well (or marked to be valid in
> C++03 only)

And C++11, and every released version of G++.

I've added a note to the wiki regarding DR 712 but the point of that page is to
explain common errors people get from G++ and that example is taken from
numerous bug reports. Even when DR 712 is implemented it will remain relevant
for past releases so feel free to update the wiki yourself, but try to keep it
useful for people using old releases who are surprised the example won't link,
e.g. PR 53614 reported this week against GCC 4.4

Reply via email to