Re: parse error before `throw'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ARH <haghdoost@xxxxxxxxx> 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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux