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