From e623a9883fa3e456bf3f5564277c7bd78a3cdacd Mon Sep 17 00:00:00 2001 From: bkoz Date: Tue, 11 Dec 2007 21:48:16 +0000 Subject: [PATCH] 2007-12-11 Benjamin Kosnik PR libstdc++/34015 * include/backward/backward_warning.h: Adjust warning message. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130778 138bc75d-0d04-0410-961f-82ee72b054a4 --- libstdc++-v3/ChangeLog | 5 +++ libstdc++-v3/include/backward/backward_warning.h | 46 +++++++++++++----------- 2 files changed, 31 insertions(+), 20 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index a318ac84282..cd72b2fad09 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2007-12-11 Benjamin Kosnik + + PR libstdc++/34015 + * include/backward/backward_warning.h: Adjust warning message. + 2007-12-11 Paolo Carlini * include/bits/stl_bvector.h (vector::reserve): Move out of diff --git a/libstdc++-v3/include/backward/backward_warning.h b/libstdc++-v3/include/backward/backward_warning.h index 01371a7db0d..bf8ca86a457 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: \ - , basic_stringbuf , strstreambuf \ - , basic_istringstream , istrstream \ - , basic_ostringstream , ostrstream \ - , basic_stringstream , strstream \ - , unordered_set , hash_set \ - , unordered_multiset , hash_multiset \ - , unordered_map , hash_map \ - , unordered_multimap , hash_multimap \ - , bind , binder1st \ - , bind , binder2nd \ - , bind , bind1st \ - , bind , bind2nd \ - , unique_ptr , 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: + , basic_stringbuf , strstreambuf + , basic_istringstream , istrstream + , basic_ostringstream , ostrstream + , basic_stringstream , strstream + , unordered_set , hash_set + , unordered_multiset , hash_multiset + , unordered_map , hash_map + , unordered_multimap , hash_multimap + , bind , binder1st + , bind , binder2nd + , bind , bind1st + , bind , bind2nd + , unique_ptr , auto_ptr +*/ + #endif #endif -- 2.11.4.GIT