This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/7378: ...
- From: Nathanael Nerode <neroden at twcny dot rr dot com>
- To: gcc-gnats at gcc dot gnu dot org, kstubbs at cs dot umn dot edu, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, mcmillen at cs dot umn dot edu
- Date: Wed, 22 Jan 2003 23:19:48 -0500
- Subject: Re: c++/7378: ...
- Reply-to: neroden at twcny dot rr dot com
No longer ICEs. No, with the new parser, we get the message
Test.cpp: At global scope:
Test.cpp:23: error: return type specification for constructor invalid
Wow. It's interpreting the *entire class specification* as the return
type for the constructor. That's non-intuitive.
Leaving this bug open because of that.