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]
Other format: [Raw text]

Re: backwards headers vs. C++0x



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



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