Error with g++ of gcc3.1 (urgently need help)

Phil Edwards phil@jaj.com
Tue Jun 25 02:39:00 GMT 2002


On Tue, Jun 25, 2002 at 02:28:04PM +0800, Tony, Zhou Jingtao wrote:
> Nevertheless, when I upgraded it to gcc3.1, and tried compiling it again with g++, it gives me the following errors:
> 
> In file included from /usr/local/include/g++-v3/fstream:48,
>                  from read.cpp:2:
> /usr/local/include/g++-v3/bits/basic_file.h:52: parse error before `{' token

You need to reinstall 3.1 into a different directory than 3.0.

    http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#4_0


-- 
If ye love wealth greater than liberty, the tranquility of servitude greater
than the animating contest for freedom, go home and leave us in peace.  We seek
not your counsel, nor your arms.  Crouch down and lick the hand that feeds you;
and may posterity forget that ye were our countrymen.            - Samuel Adams



More information about the Gcc mailing list