include strstream instead of strstream.h

Ross Smith ross.s@ihug.co.nz
Sun Aug 12 14:57:00 GMT 2001


Benjamin Kosnik wrote:
> 
> > I think his point is that -we- are including that header in -our- own
> > source code.  See egcs/libstdc++-v3/src/strstream.cc:50.
> 
> Right: this file supports the deprecated header. Thus, the warning is
> accurate.
> 
> > That is why I find his patch OK.
> 
> Substituting one deprecated header for the other? Why?

No, substituting a standard but deprecated header (<strstream>, which is
in the C++ standard but deprecated in favour of <sstream>) for a
completely nonstandard one (<strstream.h>, which has never been in any
standard).

-- 
Ross Smith <ross.s@ihug.co.nz> The Internet Group, Auckland, New Zealand
========================================================================
"Unix has always lurked provocatively in the background of the operating
system wars, like the Russian Army."                  -- Neal Stephenson



More information about the Gcc-patches mailing list