libstdc++
c++0x_warning.h
Go to the documentation of this file.
00001 // Copyright (C) 2007, 2009, 2010 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 bits/c++0x_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 _CXX0X_WARNING_H
00029 #define _CXX0X_WARNING_H 1
00030 
00031 #ifndef __GXX_EXPERIMENTAL_CXX0X__
00032 #error This file requires compiler and library support for the upcoming \
00033 ISO C++ standard, C++0x. This support is currently experimental, and must be \
00034 enabled with the -std=c++0x or -std=gnu++0x compiler options.
00035 #endif
00036 
00037 #endif