[Bug c++/71975] In c++11/14 mode enumname::name is assumed name to be part of the enumname

2016-07-24 Thread gw.fossdev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71975 --- Comment #4 from Gert --- Regarding the "whitespace" I didn't know that with something like namespace foo { class bar {}; } one can actually write foo ::bar x; i.e. add whitespaces between a namespace or class name and "::" before

[Bug c++/71975] In c++11/14 mode enumname::name is assumed name to be part of the enumname

2016-07-24 Thread gw.fossdev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71975 --- Comment #3 from Gert --- Created attachment 38957 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38957=edit test case with "enu" being a struct I would also assume that this is a parsing issue. With enu being a struct the

[Bug c++/71975] In c++11/14 mode whitespaces are ignored between enum or class type name and ::

2016-07-22 Thread gw.fossdev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71975 Gert changed: What|Removed |Added Attachment #38951|0 |1 is obsolete|

[Bug c++/71975] New: In c++11/14 mode whitespaces are ignored between enum or class type name and ::

2016-07-22 Thread gw.fossdev at gmail dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gw.fossdev at gmail dot com Target Milestone: --- Created attachment 38951 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38951=edit Test case triggering the

[Bug c++/39159] unhelpful attribute warning on matching declaration after definition

2016-04-06 Thread gw.fossdev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39159 --- Comment #6 from Gert --- I forgot to mention: the patch is against 5.3.0.

[Bug c++/39159] unhelpful attribute warning on matching declaration after definition

2016-04-06 Thread gw.fossdev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39159 Gert changed: What|Removed |Added CC||gw.fossdev at gmail dot com --- Comment #5 from