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 <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


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