[Bug c++/30301] Invalid static member of anonymous class or union diagnosed too late

2014-02-26 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30301 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added CC||jason at gcc

[Bug c++/30301] Invalid static member of anonymous class or union diagnosed too late

2014-02-26 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30301 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/30301] Invalid static member of anonymous class or union diagnosed too late

2014-02-26 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30301 --- Comment #4 from Jason Merrill jason at gcc dot gnu.org --- Author: jason Date: Wed Feb 26 21:44:48 2014 New Revision: 208185 URL: http://gcc.gnu.org/viewcvs?rev=208185root=gccview=rev Log: PR c++/30301 * g++.dg/parse/unnamed2.C: New.

[Bug c++/30301] Invalid static member of anonymous class or union diagnosed too late

2006-12-26 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-12-27 02:49 --- Unions have the same issue: templateint struct A { union { static int i; }; }; -- pinskia at gcc dot gnu dot org changed: What|Removed |Added