[Bug c++/30300] Bogus diagnostic for anonymous structs/classes

2007-09-15 Thread reichelt at gcc dot gnu dot org
--- Comment #3 from reichelt at gcc dot gnu dot org 2007-09-15 20:44 --- The diagnostic was fixed by the patch for PR30302. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/30300] Bogus diagnostic for anonymous structs/classes

2007-06-05 Thread richard-gccbugzilla at metafoo dot co dot uk
--- Comment #2 from richard-gccbugzilla at metafoo dot co dot uk 2007-06-05 17:21 --- Points worthy of note: 1) The OP's code is legal (to my reading of the standard) but meaningless. Private members in unnamed classes are legal, while private members in anonymous unions are not. So

[Bug c++/30300] Bogus diagnostic for anonymous structs/classes

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:47 --- Confirmed, and you are correct in that the error message was just copied. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added