This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: include strstream instead of strstream.h
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Subject: Re: include strstream instead of strstream.h
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- Date: 12 Aug 2001 10:42:37 +0200
- Cc: Craig Rodrigues <rodrigc at mediaone dot net>, libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <Pine.SOL.3.91.1010811170540.24441B-100000@taarna.cygnus.com>
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