1 // Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
2 // Free Software Foundation, Inc.
4 // This file is part of the GNU ISO C++ Library. This library is free
5 // software; you can redistribute it and/or modify it under the
6 // terms of the GNU General Public License as published by the
7 // Free Software Foundation; either version 3, or (at your option)
10 // This library is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
15 // Under Section 7 of GPL version 3, you are granted additional
16 // permissions described in the GCC Runtime Library Exception, version
17 // 3.1, as published by the Free Software Foundation.
19 // You should have received a copy of the GNU General Public License and
20 // a copy of the GCC Runtime Library Exception along with this program;
21 // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
22 // <http://www.gnu.org/licenses/>.
24 #ifndef _BACKWARD_BACKWARD_WARNING_H
25 #define _BACKWARD_BACKWARD_WARNING_H 1
29 This file includes at least one deprecated or antiquated header which \
30 may be removed without further notice at a future date. Please use a \
31 non-deprecated interface with equivalent functionality instead. For a \
32 listing of replacement headers and interfaces, consult the file \
33 backward_warning.h. To disable this warning use -Wno-deprecated.
36 A list of valid replacements is as follows:
39 <sstream>, basic_stringbuf <strstream>, strstreambuf
40 <sstream>, basic_istringstream <strstream>, istrstream
41 <sstream>, basic_ostringstream <strstream>, ostrstream
42 <sstream>, basic_stringstream <strstream>, strstream
43 <unordered_set>, unordered_set <ext/hash_set>, hash_set
44 <unordered_set>, unordered_multiset <ext/hash_set>, hash_multiset
45 <unordered_map>, unordered_map <ext/hash_map>, hash_map
46 <unordered_map>, unordered_multimap <ext/hash_map>, hash_multimap
47 <functional>, bind <functional>, binder1st
48 <functional>, bind <functional>, binder2nd
49 <functional>, bind <functional>, bind1st
50 <functional>, bind <functional>, bind2nd
51 <memory>, unique_ptr <memory>, auto_ptr