libstdc++/3619: GCC 3.0 C++ backwards compatibility bug?
Phil Edwards
pedwards@disaster.jaj.com
Thu Jul 12 19:36:00 GMT 2001
The following reply was made to PR libstdc++/3619; it has been noted by GNATS.
From: Phil Edwards <pedwards@disaster.jaj.com>
To: us@ooc.de
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: libstdc++/3619: GCC 3.0 C++ backwards compatibility bug?
Date: Thu, 12 Jul 2001 22:31:21 -0400
On Thu, Jul 12, 2001 at 10:03:17AM +0200, Uwe Seimet wrote:
> > > >Description:
> > > Compiling a file with this single line of code:
> > >
> > > #include <strstream>
> > >
> > > does not work but leads to error messages.
> >
> > /Which/ error message?
>
> I'm sorry I forgot to add the message. Here it is:
>
> duplo>/opt/egcs/bin/c++ test.cpp
> In file included from test.cpp:1:
> /opt/egcs/include/g++-v3/strstream:38: syntax error before `:' token
> /opt/egcs/include/g++-v3/strstream:42: `_Traits' was not declared in this scope
> /opt/egcs/include/g++-v3/strstream:42: syntax error before `;' token
> /opt/egcs/include/g++-v3/strstream:48: type specifier omitted for parameter
> /opt/egcs/include/g++-v3/strstream:48: parse error before `,' token
> /opt/egcs/include/g++-v3/strstream:49: type specifier omitted for parameter
> /opt/egcs/include/g++-v3/strstream:49: parse error before `,' token
> /opt/egcs/include/g++-v3/strstream:50: type specifier omitted for parameter
> /opt/egcs/include/g++-v3/strstream:50: parse error before `,' token
> /opt/egcs/include/g++-v3/strstream:52: type specifier omitted for parameter
> /opt/egcs/include/g++-v3/strstream:52: parse error before `)' token
> /opt/egcs/include/g++-v3/strstream:53: type specifier omitted for parameter
> /opt/egcs/include/g++-v3/strstream:53: parse error before `)' token
I still can't reproduce this. Even those line numbers don't make sense.
And strstream isn't installed into $prefix/include/g++-v3 anyhow; it's
installed in the backward subdirectory one level deeper. Something is
seriously wrong here.
Phil
--
Would I had phrases that are not known, utterances that are strange, in
new language that has not been used, free from repetition, not an utterance
which has grown stale, which men of old have spoken.
- anonymous Egyptian scribe, c.1700 BC
More information about the Gcc-prs
mailing list