re PR libstdc++/34015 (warning in backward_warning.h is illegible)

2007-12-11  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/34015
	* include/backward/backward_warning.h: Adjust warning message.

From-SVN: r130778
This commit is contained in:
Benjamin Kosnik 2007-12-11 21:48:16 +00:00 committed by Benjamin Kosnik
parent c62df8fddb
commit 6e49161abe
2 changed files with 31 additions and 20 deletions

View File

@ -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> 2007-12-11 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_bvector.h (vector<bool>::reserve): Move out of * include/bits/stl_bvector.h (vector<bool>::reserve): Move out of

View File

@ -29,26 +29,32 @@
#define _BACKWARD_BACKWARD_WARNING_H 1 #define _BACKWARD_BACKWARD_WARNING_H 1
#ifdef __DEPRECATED #ifdef __DEPRECATED
#warning This file includes at least one deprecated or antiquated header. \ #warning \
Please consider use of an equivalent, non-deprecated interface for the \ This file includes at least one deprecated or antiquated header which \
requested functionality. A list of valid replacements is as follows: \ may be removed without further notice at a future date. Please use a \
\ non-deprecated interface with equivalent functionality instead. For a \
Use: Instead of: \ listing of replacement headers and interfaces, consult the file \
<sstream>, basic_stringbuf <strstream>, strstreambuf \ backward_warning.h. To disable this warning use -Wno-deprecated.
<sstream>, basic_istringstream <strstream>, istrstream \
<sstream>, basic_ostringstream <strstream>, ostrstream \ /*
<sstream>, basic_stringstream <strstream>, strstream \ A list of valid replacements is as follows:
<unordered_set>, unordered_set <ext/hash_set>, hash_set \
<unordered_set>, unordered_multiset <ext/hash_set>, hash_multiset \ Use: Instead of:
<unordered_map>, unordered_map <ext/hash_set>, hash_map \ <sstream>, basic_stringbuf <strstream>, strstreambuf
<unordered_map>, unordered_multimap <ext/hash_set>, hash_multimap \ <sstream>, basic_istringstream <strstream>, istrstream
<functional>, bind <functional>, binder1st \ <sstream>, basic_ostringstream <strstream>, ostrstream
<functional>, bind <functional>, binder2nd \ <sstream>, basic_stringstream <strstream>, strstream
<functional>, bind <functional>, bind1st \ <unordered_set>, unordered_set <ext/hash_set>, hash_set
<functional>, bind <functional>, bind2nd \ <unordered_set>, unordered_multiset <ext/hash_set>, hash_multiset
<memory>, unique_ptr <memory>, auto_ptr \ <unordered_map>, unordered_map <ext/hash_set>, hash_map
\ <unordered_map>, unordered_multimap <ext/hash_set>, hash_multimap
To disable this warning use -Wno-deprecated. <functional>, bind <functional>, binder1st
<functional>, bind <functional>, binder2nd
<functional>, bind <functional>, bind1st
<functional>, bind <functional>, bind2nd
<memory>, unique_ptr <memory>, auto_ptr
*/
#endif #endif
#endif #endif