libsmbios_c library
gcc.h
Go to the documentation of this file.
1 // (C) Copyright John Maddock 2001 - 2003.
2 // (C) Copyright Darin Adler 2001 - 2002.
3 // (C) Copyright Jens Maurer 2001 - 2002.
4 // (C) Copyright Beman Dawes 2001 - 2003.
5 // (C) Copyright Douglas Gregor 2002.
6 // (C) Copyright David Abrahams 2002 - 2003.
7 // (C) Copyright Synge Todo 2003.
8 // Use, modification and distribution are subject to the
9 // Boost Software License, Version 1.0. (See accompanying file
10 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
11 
12 // See http://www.boost.org for most recent version.
13 
14 #define LIBSMBIOS_C_HAS_PRETTY_FUNCTION
15 #define LIBSMBIOS_C_HAS_FUNCTION
16 #define LIBSMBIOS_C_PACKED_ATTR __attribute__ ((packed))
17 #define LIBSMBIOS_C_COMPILER "GNU C++ version " __VERSION__
18 #define LIBSMBIOS_C_HAS_LONG_LONG
19 #define LIBSMBIOS_C_HAS_VISIBILITY_ATTR
20 
21 // versions check:
22 // we don't know gcc prior to version 2.90:
23 #if (__GNUC__ == 2) && (__GNUC_MINOR__ < 90)
24 # error "GCC versions < 2.90 not supported"
25 #endif
26 //
27 #if (__GNUC__ > 5)
28 # if defined(LIBSMBIOS_C_ASSERT_CONFIG)
29 # error "Unknown compiler version - please run the configure tests and report the results"
30 # else
31 # warning "Unknown compiler version - please run the configure tests and report the results"
32 # endif
33 #endif
34 
35