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]
Other format: [Raw text]

Re: parse error before `throw'


 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


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