This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: g++ parser problem


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]