# backward_warning.h

    00001 // Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
    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 #ifndef _BACKWARD_BACKWARD_WARNING_H
    00025 #define _BACKWARD_BACKWARD_WARNING_H 1
    00026
    00027 #ifdef __DEPRECATED
    00028 #warning \
    00029   This file includes at least one deprecated or antiquated header which \
    00030   may be removed without further notice at a future date. Please use a \
    00031   non-deprecated interface with equivalent functionality instead. For a \
    00032   listing of replacement headers and interfaces, consult the file \
    00033   backward_warning.h. To disable this warning use -Wno-deprecated.
    00034
    00035 /*
    00036   A list of valid replacements is as follows:
    00037
    00038   Use:                  Instead of:
    00039   <sstream>, basic_stringbuf        <strstream>, strstreambuf
    00040   <sstream>, basic_istringstream    <strstream>, istrstream
    00041   <sstream>, basic_ostringstream    <strstream>, ostrstream
    00042   <sstream>, basic_stringstream     <strstream>, strstream
    00043   <unordered_set>, unordered_set        <ext/hash_set>, hash_set
    00044   <unordered_set>, unordered_multiset   <ext/hash_set>, hash_multiset
    00045   <unordered_map>, unordered_map    <ext/hash_map>, hash_map
    00046   <unordered_map>, unordered_multimap   <ext/hash_map>, hash_multimap
    00047   <functional>, bind            <functional>, binder1st
    00048   <functional>, bind            <functional>, binder2nd
    00049   <functional>, bind            <functional>, bind1st
    00050   <functional>, bind            <functional>, bind2nd
    00051   <memory>, unique_ptr              <memory>, auto_ptr
    00052 */
    00053
    00054 #endif
    00055
    00056 #endif