backwards headers vs. C++0x
Benjamin Kosnik
bkoz@redhat.com
Fri May 11 10:21:00 GMT 2007
> It's hard to know if -Wno-deprecated was used to silence warnings from
> <strstream> (deprecated, but still in the standard) or one of the
> non-standard headers such as <iostream.h>, since they all give the
> same warning.
Yes. You are right.
There are a couple of things that could be done.
1) Remove all that are not explicitly deprecated, along the lines
proposed before. This would only leave strstream, I think.
2) Error instead of warn when using the backward (ie, present but not
deprecated headers) when using C++0x.
-benjamin
More information about the Libstdc++
mailing list