This is the mail archive of the gcc-help@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]

Re: Problem compiling openjade with gcc 3.0


On Jul 28, 2001, Murali Potla <murali_linux@yahoo.com> wrote:

> i am trying to compile openjade-1.3 i am getting the following error

> CmdLineApp.cxx: In member function `int CmdLineApp::run(int, char**)':
> CmdLineApp.cxx:217: parse error before `)' token

> catch (
> #ifndef SP_NO_STD_NAMESPACE
>        std::
> #endif
> 	    bad_alloc) { // this is line 217

Looks like either SP_NO_STD_NAMESPACE is defined, while with g++ 3.0
shouldn't, or the header that declares std::bad_alloc wasn't
included.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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