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'


ARH <haghdoost@gmail.com> writes:

>  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.

I assume you mean gcc 2.95.3.

stdio.h comes from glibc, not from libstdc++ or gcc.  It looks like you
have a glibc which your version of gcc can't parse.  Use the
--save-temps and look at the .ii file to see what the preprocessed
source code looks like.  Perhaps that will suggest something.

Or downgrade your glibc as well.

Ian


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