/usr/src/redhat/BUILD/libsmbios-2.2.21/src/include/smbios_c/config/compiler/gcc.h

Go to the documentation of this file.
00001 //  (C) Copyright John Maddock 2001 - 2003.
00002 //  (C) Copyright Darin Adler 2001 - 2002.
00003 //  (C) Copyright Jens Maurer 2001 - 2002.
00004 //  (C) Copyright Beman Dawes 2001 - 2003.
00005 //  (C) Copyright Douglas Gregor 2002.
00006 //  (C) Copyright David Abrahams 2002 - 2003.
00007 //  (C) Copyright Synge Todo 2003.
00008 //  Use, modification and distribution are subject to the
00009 //  Boost Software License, Version 1.0. (See accompanying file
00010 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
00011 
00012 //  See http://www.boost.org for most recent version.
00013 
00014 #define LIBSMBIOS_C_HAS_PRETTY_FUNCTION
00015 #define LIBSMBIOS_C_HAS_FUNCTION
00016 #define LIBSMBIOS_C_PACKED_ATTR      __attribute__ ((packed))
00017 #define LIBSMBIOS_C_COMPILER "GNU C++ version " __VERSION__
00018 #define LIBSMBIOS_C_HAS_LONG_LONG
00019 
00020 // versions check:
00021 // we don't know gcc prior to version 2.90:
00022 #if (__GNUC__ == 2) && (__GNUC_MINOR__ < 90)
00023 #  error "GCC versions < 2.90 not supported"
00024 #endif
00025 //
00026 #if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ > 5))
00027 #  if defined(LIBSMBIOS_C_ASSERT_CONFIG)
00028 #     error "Unknown compiler version - please run the configure tests and report the results"
00029 #  else
00030 #     warning "Unknown compiler version - please run the configure tests and report the results"
00031 #  endif
00032 #endif
00033 
00034 

Generated on Mon Apr 23 19:50:54 2012 for libsmbios_c library by  doxygen 1.4.7