backward_warning.h

00001 // Copyright (C) 2001, 2007 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 2, 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 // You should have received a copy of the GNU General Public License along
00015 // with this library; see the file COPYING.  If not, write to the Free
00016 // Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
00017 // USA.
00018 
00019 // As a special exception, you may use this file as part of a free software
00020 // library without restriction.  Specifically, if other files instantiate
00021 // templates or use macros or inline functions from this file, or you compile
00022 // this file and link it with other files to produce an executable, this
00023 // file does not by itself cause the resulting executable to be covered by
00024 // the GNU General Public License.  This exception does not however
00025 // invalidate any other reasons why the executable file might be covered by
00026 // the GNU General Public License.
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_set>, hash_map
00050   <unordered_map>, unordered_multimap   <ext/hash_set>, 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

Generated on Wed Mar 26 00:42:54 2008 for libstdc++ by  doxygen 1.5.1