This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: successful build, failed build
- From: "David S. Miller" <davem at redhat dot com>
- To: wesslen at post dot netlink dot se
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 16 May 2002 06:04:12 -0700 (PDT)
- Subject: Re: successful build, failed build
- References: <000001c1fcdb$4fee4fe0$2d0b423e@danielp4>
From: Daniel Wesslén <wesslen@post.netlink.se>
Date: Thu, 16 May 2002 15:12:18 +0200
Any program using <fstream> will fail to compile:
...
$ g++ t.cc -o t
In file included from /usr/local/include/g++-v3/fstream:48,
from t.cc:1:
/usr/local/include/g++-v3/bits/basic_file.h:52: parse error before `{'
token
Make sure you blow away older gcc-3.x installations before installing
gcc-3.1 You have g++-v3 header files from an older gcc install and
they are interfering.