00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 # if __GNUC__ == 2 && __GNUC_MINOR__ == 91
00017
00018 # define LIBSMBIOS_NO_AUTO_PTR
00019 # endif
00020 # if __GNUC__ == 2 && __GNUC_MINOR__ < 95
00021
00022
00023
00024
00025
00026 # define LIBSMBIOS_NO_MEMBER_TEMPLATES
00027 # if __GNUC_MINOR__ >= 9
00028 # define LIBSMBIOS_MSVC6_MEMBER_TEMPLATES
00029 # endif
00030 # endif
00031
00032 # if __GNUC__ == 2 && __GNUC_MINOR__ < 96
00033 # define LIBSMBIOS_NO_SFINAE
00034 # endif
00035
00036 # if __GNUC__ == 2 && __GNUC_MINOR__ <= 97
00037 # define LIBSMBIOS_NO_MEMBER_TEMPLATE_FRIENDS
00038 # define LIBSMBIOS_NO_OPERATORS_IN_NAMESPACE
00039 # endif
00040
00041 # if __GNUC__ < 3
00042 # define LIBSMBIOS_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE
00043 # define LIBSMBIOS_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL
00044 # endif
00045
00046 #ifndef __EXCEPTIONS
00047 # define LIBSMBIOS_NO_EXCEPTIONS
00048 #endif
00049
00050
00051 #define LIBSMBIOS_HAS_PRETTY_FUNCTION
00052 #define LIBSMBIOS_HAS_FUNCTION
00053
00054
00055
00056
00057 #if (__GNUC__ == 3) && ((__GNUC_MINOR__ == 1) || (__GNUC_MINOR__ == 2))
00058 # define LIBSMBIOS_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS
00059 #endif
00060
00061 #define LIBSMBIOS_PACKED_ATTR __attribute__ ((packed))
00062 #define UNREFERENCED_PARAMETER(P) (void)(P)
00063
00064
00065
00066
00067
00068
00069 #if !defined(__MINGW32__) && !defined(linux) && !defined(__linux) && !defined(__linux__)
00070 # define LIBSMBIOS_HAS_THREADS
00071 #endif
00072
00073
00074
00075
00076 #define LIBSMBIOS_HAS_LONG_LONG
00077
00078
00079
00080
00081 #if __GNUC__ > 3 || ( __GNUC__ == 3 && __GNUC_MINOR__ >= 1 )
00082 #define LIBSMBIOS_HAS_NRVO
00083 #endif
00084
00085 #define LIBSMBIOS_COMPILER "GNU C++ version " __VERSION__
00086
00087
00088
00089
00090 #if (__GNUC__ == 2) && (__GNUC_MINOR__ < 90)
00091 # error "Compiler not configured - please reconfigure"
00092 #endif
00093
00094
00095 #if (__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ > 1))
00096 # if defined(LIBSMBIOS_ASSERT_CONFIG)
00097 # error "Unknown compiler version - please run the configure tests and report the results"
00098 # else
00099 # warning "Unknown compiler version - please run the configure tests and report the results"
00100 # endif
00101 #endif
00102
00103