This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11471] ICE on illegal use of typedef'd member class
- From: "jde at google dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Feb 2006 01:23:12 -0000
- Subject: [Bug c++/11471] ICE on illegal use of typedef'd member class
- References: <bug-11471-1710@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from jde at google dot com 2006-02-17 01:23 -------
Using the source above, and gcc-4,[01], I at least get the error message, but
4.1 still dies...
gcc-4.0.1-glibc-2.3.2-i686-piii-linux-gnu-g++ -c main.cc
main.cc:7: error: ISO C++ forbids declaration of 'type' with no type
main.cc:7: confused by earlier errors, bailing out
[Does not core]
gcc-4.1-20050819-glibc-2.3.2-i686-piii-linux-gnu-g++ main.cc
main.cc:7: error: ISO C++ forbids declaration of 'type' with no type
main.cc:7: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11471