This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: include strstream instead of strstream.h


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]