mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-24 03:14:08 +08:00
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:
parent
c62df8fddb
commit
6e49161abe
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user