This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/1016] [DR 166] friend class declarations not observing namespace rules.
- From: "lerdsuwa at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Oct 2004 15:17:39 -0000
- Subject: [Bug c++/1016] [DR 166] friend class declarations not observing namespace rules.
- References: <20001207214600.1016.jaycox@gimp.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2004-10-17 15:17 -------
With patches:
http://gcc.gnu.org/ml/gcc-patches/2004-10/msg01321.html
http://gcc.gnu.org/ml/gcc-patches/2004-10/msg01372.html
GCC gives:
pr1016.C:8: error: field 'b_' has incomplete type
which is still wrong because the injected name is still hidden.
Name lookup should find the global 'b'.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1016