libstdc++/7230: <strstream> header file is missing (trunk)

Peter Schmid schmid@snake.iap.physik.tu-darmstadt.de
Sun Jul 7 17:06:00 GMT 2002


>Number:         7230
>Category:       libstdc++
>Synopsis:       <strstream> header file is missing (trunk)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 07 15:46:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Peter Schmid
>Release:        3.2 20020707 (experimental)
>Organization:
TU Darmstadt
>Environment:
System: Linux kiste 2.4.18 #8 Sat Mar 9 15:33:15 CET 2002 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc/configure --enable-shared --disable-nls --enable-threads=posix --enable-languages=c,c++,f77,objc,treelang
>Description:
The header file <strstream> was removed from the libstdc++ sources that are
shipped with gcc 3.2. Is this an oversight or was it deliberate? This
removal breaks blitz, boost, etc. According to my understanding of the
standard, <strstream> is required for a conforming libstdc++ implementation,
though it is retained only for backward compatibility.  

>How-To-Repeat:
tstrstream.C
#include <strstream>

g++ -v tstrstream.C
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs
Configured with: ../gcc/configure --enable-shared --disable-nls --enable-threads=posix --enable-languages=c,c++,f77,objc,treelang
Thread model: posix
gcc version 3.2 20020707 (experimental)
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2/cc1plus -quiet -v -D__GNUC__=3 -D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=0 -D_GNU_SOURCE tstrstream.C -D__GNUG__=3 -D__DEPRECATED -D__EXCEPTIONS -D__GXX_ABI_VERSION=100 -quiet -dumpbase tstrstream.C -version -o /tmp/cc3ZdR3H.s
GNU C++ version 3.2 20020707 (experimental) (i686-pc-linux-gnu)
	compiled by GNU C version 3.2 20020707 (experimental).
ignoring nonexistent directory "NONE/include"
ignoring nonexistent directory "/usr/local/i686-pc-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include/c++/3.2
 /usr/local/include/c++/3.2/i686-pc-linux-gnu
 /usr/local/include/c++/3.2/backward
 /usr/local/include
 /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.2/include
 /usr/include
End of search list.
tstrstream.C:1:21: strstream: No such file or directory

Compilation exited abnormally with code 1 at Mon Jul  8 00:28:19

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



More information about the Gcc-bugs mailing list