This is the mail archive of the gcc@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: successful build, failed build


   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.


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