[Bug c++/89156] New: Templated member function has DEFAULT visibility although instantiating class has not

2019-02-01 Thread gcc at martinien dot de
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc at martinien dot de Target Milestone: --- My understanding is this: When a templated class should get DEFAULT visibility, the class itself and all the

[Bug c/80801] New: Error "void value not ignored as it ought to be" is a bit cryptic

2017-05-17 Thread gcc at martinien dot de
ty: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gcc at martinien dot de Target Milestone: --- This code returns a not-very-intuitive error: $ cat void.cpp void func() { } int main() { return func(); } $ g++ -c void.cp

[Bug c++/70847] [6/7 Regression] exponential time in cp_fold for chained virtual function calls

2016-04-29 Thread gcc at martinien dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70847 Martin Richtarsky changed: What|Removed |Added CC||gcc at martinien dot de --- Comment

[Bug c++/51440] Improve message and add an option for warning for an unnamed struct member: TYPE has a field FIELD whose type uses the anonymous namespace

2013-03-30 Thread gcc at martinien dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51440 --- Comment #5 from Martin Richtarsky 2013-03-30 22:06:48 UTC --- Hi Manuel, thanks for the pointers how to add the optional warning. I will try to submit a patch, however first I would like to understand what is going on exactly: - t

[Bug c++/51440] C++ compiler produces warning for an unnamed struct member: TYPE has a field FIELD whose type uses the anonymous namespace

2013-03-26 Thread gcc at martinien dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51440 Martin Richtarsky changed: What|Removed |Added CC||gcc at martinien dot de