libstdc++
backward_warning.h
Go to the documentation of this file.
00001 // Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2011
00002 // Free Software Foundation, Inc.
00003 //
00004 // This file is part of the GNU ISO C++ Library.  This library is free
00005 // software; you can redistribute it and/or modify it under the
00006 // terms of the GNU General Public License as published by the
00007 // Free Software Foundation; either version 3, or (at your option)
00008 // any later version.
00009 
00010 // This library is distributed in the hope that it will be useful,
00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013 // GNU General Public License for more details.
00014 
00015 // Under Section 7 of GPL version 3, you are granted additional
00016 // permissions described in the GCC Runtime Library Exception, version
00017 // 3.1, as published by the Free Software Foundation.
00018 
00019 // You should have received a copy of the GNU General Public License and
00020 // a copy of the GCC Runtime Library Exception along with this program;
00021 // see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
00022 // <http://www.gnu.org/licenses/>.
00023 
00024 /** @file backward/backward_warning.h
00025  *  This is an internal header file, included by other library headers.
00026  *  Do not attempt to use it directly. @headername{iosfwd}
00027  */
00028 
00029 #ifndef _BACKWARD_BACKWARD_WARNING_H
00030 #define _BACKWARD_BACKWARD_WARNING_H 1
00031 
00032 #ifdef __DEPRECATED
00033 #warning \
00034   This file includes at least one deprecated or antiquated header which \
00035   may be removed without further notice at a future date. Please use a \
00036   non-deprecated interface with equivalent functionality instead. For a \
00037   listing of replacement headers and interfaces, consult the file \
00038   backward_warning.h. To disable this warning use -Wno-deprecated.
00039 
00040 /*
00041   A list of valid replacements is as follows:
00042 
00043   Use:                  Instead of:
00044   <sstream>, basic_stringbuf        <strstream>, strstreambuf
00045   <sstream>, basic_istringstream    <strstream>, istrstream
00046   <sstream>, basic_ostringstream    <strstream>, ostrstream
00047   <sstream>, basic_stringstream     <strstream>, strstream
00048   <unordered_set>, unordered_set        <ext/hash_set>, hash_set
00049   <unordered_set>, unordered_multiset   <ext/hash_set>, hash_multiset
00050   <unordered_map>, unordered_map    <ext/hash_map>, hash_map
00051   <unordered_map>, unordered_multimap   <ext/hash_map>, hash_multimap
00052   <functional>, bind            <functional>, binder1st
00053   <functional>, bind            <functional>, binder2nd
00054   <functional>, bind            <functional>, bind1st
00055   <functional>, bind            <functional>, bind2nd
00056   <memory>, unique_ptr              <memory>, auto_ptr
00057 */
00058 
00059 #endif
00060 
00061 #endif