libstdc++/3619: GCC 3.0 C++ backwards compatibility bug?

us@ooc.de us@ooc.de
Mon Jul 9 06:16:00 GMT 2001


>Number:         3619
>Category:       libstdc++
>Synopsis:       GCC 3.0 C++ backwards compatibility bug?
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 09 06:16:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Uwe Seimet
>Release:        gcc version 3.1 20010525 (experimental)
>Organization:
>Environment:
System: Linux duplo 2.4.6 #1 SMP Wed Jul 4 13:42:19 MEST 2001 i686 unknown
Architecture: i686

        <machine, os, target, libraries (multiple lines)>
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: /home/us/egcs/gcc/configure --prefix=/opt/egcs --enable-languages=c++ --enable-shared --enable-threads
>Description:
Compiling a file with this single line of code:

#include <strstream>

does not work but leads to error messages.

I'm aware that the file strstream is deprecated, but from
the comments in this file and the ANSI standard it looks as
it should still be usable in order to remain backwards
compatible.
>How-To-Repeat:
Just compile a one-line program, consisting of this line:

#include <strstream>
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-prs mailing list