This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/21685] Internal compiler error on correct code
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 May 2005 21:16:15 -0000
- Subject: [Bug c++/21685] Internal compiler error on correct code
- References: <20050520205802.21685.o.kullmann@swansea.ac.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-20 21:16 -------
This code is invalid, you are trying to use union_f in an "inner" class but unlike Java, "inner" classes in
C++, you cannot access the outer class's members.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21685