From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Seimet To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: Re: libstdc++/3619: GCC 3.0 C++ backwards compatibility bug? Date: Fri, 13 Jul 2001 03:46:00 -0000 Message-id: <20010713104601.12333.qmail@sourceware.cygnus.com> X-SW-Source: 2001-07/msg00370.html List-Id: The following reply was made to PR libstdc++/3619; it has been noted by GNATS. From: Uwe Seimet To: Phil Edwards Cc: gcc-gnats@gcc.gnu.org Subject: Re: libstdc++/3619: GCC 3.0 C++ backwards compatibility bug? Date: Fri, 13 Jul 2001 12:42:06 +0200 Hello Phil, > > 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. I have now completely removed my installation of gcc 3.0 and recompiled everything. Looks as if something was left from older installations (includes that should now have been there anymore) because now everything is fine. I get a warning about the use of deprecated header files now, which is fine. Thanks a lot for your help. Best regards, Uwe -- ---------------------------------------------------------------------------- Dr. Uwe Seimet mailto:us@iona.com IONA Total Business Integration(tm) http://www.orbacus.com