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: Error report (gcc 3.1)


Alexandre Oliva wrote:
> 
> On May 16, 2002, Maurizio Loreti <loreti@pd.infn.it> wrote:
> 
> > In file included from /usr/soft/include/g++-v3/fstream:48,
> >                  from bar.cxx:1:
> > /usr/soft/include/g++-v3/bits/basic_file.h:52: parse error before `{' token
> 
> This file is not part of GCC 3.1.  GCC 3.1 would have installed it in
> /usr/soft/include/g++-v3/<target_alias>/basic_file.h.  Could it
> possibly be a left over from an earlier install of GCC?

Yes.  We've been hosed by this too, and it's so confusing it
should probably in some sort of FAQ or release note.  The problem
is that the old basic_file.h is always going to be in the
search path ahead of the new one, and so any installation that
doesn't completely delete the pre-3.1-final g++-v3 is going to
get nailed by this.

Stan


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