[Bug c++/81347] g++ confused by namespaces and friend classes

2018-03-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81347 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |8.0

[Bug c++/81347] g++ confused by namespaces and friend classes

2018-03-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81347 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/81347] g++ confused by namespaces and friend classes

2017-11-21 Thread richard-gccbugzilla at metafoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81347 Richard Smith changed: What|Removed |Added CC||richard-gccbugzilla@metafoo

[Bug c++/81347] g++ confused by namespaces and friend classes

2017-07-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81347 --- Comment #3 from Jonathan Wakely --- I would guess that the instantiation of A::tree injects the type map into the enclosing namespace, and then the using-declaration finds two declarations and thinks it's an error. bug.cc:17:10: error: ‘map’

[Bug c++/81347] g++ confused by namespaces and friend classes

2017-07-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81347 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid Status|RESOL

[Bug c++/81347] g++ confused by namespaces and friend classes

2017-07-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81347 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---