include strstream instead of strstream.h

Gabriel Dos Reis gdr@codesourcery.com
Sun Aug 12 01:42:00 GMT 2001


Benjamin Kosnik <bkoz@redhat.com> writes:

| > -#include <strstream.h>
| > +#include <strstream>
| 
| ... both of these headers are deprecated, by <sstream>. If this really 
| bugs you for some reason, just set CXXFLAGS to use -Wno-deprecated in 
| your build tree.

I think his point is that -we- are including that header in -our- own
source code.  See egcs/libstdc++-v3/src/strstream.cc:50.

That is why I find his patch OK.

-- Gaby
CodeSourcery, LLC                       http://www.codesourcery.com



More information about the Libstdc++ mailing list