Go to the documentation of this file. 16 # if __GNUC__ == 2 && __GNUC_MINOR__ == 91 18 # define LIBSMBIOS_NO_AUTO_PTR 20 # if __GNUC__ == 2 && __GNUC_MINOR__ < 95 26 # define LIBSMBIOS_NO_MEMBER_TEMPLATES 27 # if __GNUC_MINOR__ >= 9 28 # define LIBSMBIOS_MSVC6_MEMBER_TEMPLATES 32 # if __GNUC__ == 2 && __GNUC_MINOR__ < 96 33 # define LIBSMBIOS_NO_SFINAE 36 # if __GNUC__ == 2 && __GNUC_MINOR__ <= 97 37 # define LIBSMBIOS_NO_MEMBER_TEMPLATE_FRIENDS 38 # define LIBSMBIOS_NO_OPERATORS_IN_NAMESPACE 42 # define LIBSMBIOS_NO_USING_DECLARATION_OVERLOADS_FROM_TYPENAME_BASE 43 # define LIBSMBIOS_FUNCTION_SCOPE_USING_DECLARATION_BREAKS_ADL 47 # define LIBSMBIOS_NO_EXCEPTIONS 51 #define LIBSMBIOS_HAS_PRETTY_FUNCTION 52 #define LIBSMBIOS_HAS_FUNCTION 53 #define LIBSMBIOS_PACKED_ATTR __attribute__ ((packed)) 55 #ifndef UNREFERENCED_PARAMETER 56 #define UNREFERENCED_PARAMETER(P) ((void)(P)) 61 #define MARK_UNUSED __attribute__ ((unused)) 66 #define _dbg_iostream_out(stream, line) do { stream << line; } while(0) 67 #define _dbg_cout(line) _dbg_iostream_out(cout, line) 68 #define _dbg_cerr(line) _dbg_iostream_out(cerr, line) 69 #define _null_call( args...) do {} while(0) 70 #ifdef DEBUG_OUTPUT_ALL 72 #define DCOUT _dbg_cout 73 #define DCERR _dbg_cerr 75 #define DCOUT _null_call 76 #define DCERR _null_call 82 #if (__GNUC__ == 3) && ((__GNUC_MINOR__ == 1) || (__GNUC_MINOR__ == 2)) 83 # define LIBSMBIOS_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS 91 #if !defined(__MINGW32__) && !defined(linux) && !defined(__linux) && !defined(__linux__) 92 # define LIBSMBIOS_HAS_THREADS 98 #define LIBSMBIOS_HAS_LONG_LONG 103 #if __GNUC__ > 3 || ( __GNUC__ == 3 && __GNUC_MINOR__ >= 1 ) 104 #define LIBSMBIOS_HAS_NRVO 107 #define LIBSMBIOS_COMPILER "GNU C++ version " __VERSION__ 112 #if (__GNUC__ == 2) && (__GNUC_MINOR__ < 90) 113 # error "Compiler too old. GCC > 3.0 required" 117 # if defined(LIBSMBIOS_ASSERT_CONFIG) 118 # error "Unknown compiler version - please run the configure tests and report the results" 120 # warning "Unknown compiler version - please run the configure tests and report the results"