libstdc++/6736: g++ 3.1 does not compile source code with istrstream

Jovan Ilic ilic@thetausa.com
Thu May 23 08:44:00 GMT 2002


It has to do something with libstdc++.  When I use stlport it works as it 
should.  It is possible that somehow I am linking it from a different 
g++ distribution on the computer.

Thanks for your time,

Jovan Ilic  


On Thursday 23 May 2002 11:34 am, you wrote:
> Synopsis: g++ 3.1 does not compile source code with istrstream
>
> Responsible-Changed-From-To: unassigned->bkoz
> Responsible-Changed-By: bkoz
> Responsible-Changed-When: Thu May 23 08:34:35 2002
> Responsible-Changed-Why:
>     Mine.
> State-Changed-From-To: open->feedback
> State-Changed-By: bkoz
> State-Changed-When: Thu May 23 08:34:35 2002
> State-Changed-Why:
>     Can't reproduce.
>
>     I get:
>
>     In file included from
> /mnt/hd/bld/bld-x86-gcc/i686-pc-linux-gnu/libstdc++-v3/include/backward/str
>stream:51, from 6736.cc:12:
>    
> /mnt/hd/bld/bld-x86-gcc/i686-pc-linux-gnu/libstdc++-v3/include/backward/bac
>kward_warning.h:32:2: warning: #warning This file includes at least one
> deprecated or antiquated header. Please consider using one of the 32
> headers found in section 17.4.1.2 of the C++ standard. Examples include
> substituting the <X> header for the <X.h> header for C++ includes, or
> <sstream> instead of the deprecated header <strstream.h>. To disable this
> warning use -Wno-deprecated.
>
>     It's just a warning though, and the compilation is fine.
>
>     -benjamin
>
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&
>pr=6736



More information about the Gcc-bugs mailing list