[Bug c++/68188] Ambiguous code gets compiled successfully when class and its namespace have the same name

2016-06-10 Thread ppilar11 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68188 --- Comment #4 from Piotr Pilarczyk --- Still present in 6.1, what's the current status of this bug (for some reason it's still marked as unconfirmed)? Will it ever get fixed or is it simply ignored?

[Bug c++/68188] Ambiguous code gets compiled successfully when class and its namespace have the same name

2016-01-14 Thread ppilar11 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68188 --- Comment #3 from Piotr Pilarczyk --- Still not fixed in 5.3.0, tested here: https://gcc.godbolt.org/

[Bug c++/68188] New: Ambiguous code gets compiled successfully when class and its namespace have the same name

2015-11-02 Thread ppilar11 at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ppilar11 at gmail dot com Target Milestone: --- I reported this nearly 2 years ago (#60025), but my bug report was completely ignored and the problem still

[Bug c++/60025] Static member of class not found if class name == name of namespace it's defined in

2014-02-14 Thread ppilar11 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60025 --- Comment #1 from Piotr Pilarczyk ppilar11 at gmail dot com --- Any feedback? Is it in fact a g++ bug?

[Bug c++/60025] New: Static member of class not found if class name == namespace name it's defined in

2014-02-01 Thread ppilar11 at gmail dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: ppilar11 at gmail dot com Consider this definition: namespace Foo { int x; class Foo { public: static int x; }; int Foo::x