This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: g++ parser problem
- From: "Giovanni Bajo" <giovannibajo at libero dot it>
- To: "Robert Schweikert" <Robert dot Schweikert at abaqus dot com>,"gcc-dev-lst" <gcc at gcc dot gnu dot org>
- Date: Mon, 19 Jan 2004 19:28:09 +0100
- Subject: Re: g++ parser problem
- References: <1074535620.9026.93.camel@cheetah.hks.com>
Robert Schweikert wrote:
> Trying to compile the little code snippet below causes an error as
> shown with g++. It works with other compilers.
It's one of many bugs which has been fixed with the new C++ parser, available
in GCC 3.4.0 (to be released).
> I searched the mailing list but couldn't find anything relevant. Does
> anyone have any ideas how I can work around this parsing problem?
throw std::bad_alloc();
Giovanni Bajo