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
>> /bin/nice -10 gcc -DELCORÂ? -DSUPPORT_PBR -DLINUX -gstabs+ -static
                 ^^^

>> Â?Â?Â?Â?Â?Â?Â?Â?Â?Â?Â?Â?Â?Â?Â?Â? from Tools/tools_all.cpp:128:
                                                         ^^^

You are attempting to compile a C++ file as though it were C.

>> /usr/include/stdio.h:430: parse error before `throw'
"throw" is C++, not C.




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