This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: parse error before `throw'
- From: ARH <haghdoost at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 18 Jan 2011 19:37:37 +0330
- Subject: Re: parse error before `throw'
- References: <AANLkTimBi1szHriZ9HXVymJ021LLeo2FoxDzyKpAaDm9@mail.gmail.com>
Hello
I need to compile a package with gcc-2.9 , I have downgrade my gcc
version from 4.4 to 2.9. The following error appears after
compilation. It seems that I am using wrong stdio.h file, I have
installed libstdc++2.10-dev. I will appreciate any help for this
issue.
> make[1]: Leaving directory `/home/abbas/Desktop/Tools2/trimaran/elcor/mdes'
> make[1]: Entering directory `/home/abbas/Desktop/Tools2/trimaran/elcor/src'
> /bin/nice -10 gcc -DELCORÂ -DSUPPORT_PBR -DLINUX -gstabs+ -static -fno-for-scope -Wall -Wno-unused -Wno-deprecated -I../include -I/home/abbas/Desktop/Tools2/trimaran/impact/include -DGCCÂ -c Tools/tools_all.cpp -o Tools/tools_all.o
> In file included from Tools/el_error.cpp:127,
> ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ from Tools/tools_all.cpp:128:
> /usr/include/stdio.h:430: parse error before `throw'
> /usr/include/stdio.h:487: parse error before `throw'
> make[1]: *** [Tools/tools_all.o] Error 1
> make[1]: Leaving directory `/home/abbas/Desktop/Tools2/trimaran/elcor/src'
> make: *** [elcor] Error 2
Alireza Haghdoost