This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: parse error before `throw'
- From: david dot hagood at gmail dot com
- To: "ARH" <haghdoost at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 18 Jan 2011 16:27:53 -0600
- Subject: Re: parse error before `throw'
- References: <AANLkTimBi1szHriZ9HXVymJ021LLeo2FoxDzyKpAaDm9@mail.gmail.com> <AANLkTimsJeSFqvwuSPztGqJLGDCdYBc5PpRXwxskEYYi@mail.gmail.com>
> 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.