diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index a318ac84282a65e2bb42e490f3c3b77dc308551a..cd72b2fad09d32934c32321301c28d81a81e40cd 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2007-12-11 Benjamin Kosnik <bkoz@redhat.com> + + PR libstdc++/34015 + * include/backward/backward_warning.h: Adjust warning message. + 2007-12-11 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_bvector.h (vector<bool>::reserve): Move out of diff --git a/libstdc++-v3/include/backward/backward_warning.h b/libstdc++-v3/include/backward/backward_warning.h index 01371a7db0da6a79386ba2a73d6755e0c6450877..bf8ca86a457506366f16be54ce9835965091ccfe 100644 --- a/libstdc++-v3/include/backward/backward_warning.h +++ b/libstdc++-v3/include/backward/backward_warning.h @@ -29,26 +29,32 @@ #define _BACKWARD_BACKWARD_WARNING_H 1 #ifdef __DEPRECATED -#warning This file includes at least one deprecated or antiquated header. \ - Please consider use of an equivalent, non-deprecated interface for the \ - requested functionality. A list of valid replacements is as follows: \ - \ - Use: Instead of: \ - <sstream>, basic_stringbuf <strstream>, strstreambuf \ - <sstream>, basic_istringstream <strstream>, istrstream \ - <sstream>, basic_ostringstream <strstream>, ostrstream \ - <sstream>, basic_stringstream <strstream>, strstream \ - <unordered_set>, unordered_set <ext/hash_set>, hash_set \ - <unordered_set>, unordered_multiset <ext/hash_set>, hash_multiset \ - <unordered_map>, unordered_map <ext/hash_set>, hash_map \ - <unordered_map>, unordered_multimap <ext/hash_set>, hash_multimap \ - <functional>, bind <functional>, binder1st \ - <functional>, bind <functional>, binder2nd \ - <functional>, bind <functional>, bind1st \ - <functional>, bind <functional>, bind2nd \ - <memory>, unique_ptr <memory>, auto_ptr \ - \ - To disable this warning use -Wno-deprecated. +#warning \ + This file includes at least one deprecated or antiquated header which \ + may be removed without further notice at a future date. Please use a \ + non-deprecated interface with equivalent functionality instead. For a \ + listing of replacement headers and interfaces, consult the file \ + backward_warning.h. To disable this warning use -Wno-deprecated. + +/* + A list of valid replacements is as follows: + + Use: Instead of: + <sstream>, basic_stringbuf <strstream>, strstreambuf + <sstream>, basic_istringstream <strstream>, istrstream + <sstream>, basic_ostringstream <strstream>, ostrstream + <sstream>, basic_stringstream <strstream>, strstream + <unordered_set>, unordered_set <ext/hash_set>, hash_set + <unordered_set>, unordered_multiset <ext/hash_set>, hash_multiset + <unordered_map>, unordered_map <ext/hash_set>, hash_map + <unordered_map>, unordered_multimap <ext/hash_set>, hash_multimap + <functional>, bind <functional>, binder1st + <functional>, bind <functional>, binder2nd + <functional>, bind <functional>, bind1st + <functional>, bind <functional>, bind2nd + <memory>, unique_ptr <memory>, auto_ptr +*/ + #endif #endif