Go to the documentation of this file.
14 # if __SUNPRO_CC <= 0x500
15 # define LIBSMBIOS_NO_MEMBER_TEMPLATES
16 # define LIBSMBIOS_NO_FUNCTION_TEMPLATE_ORDERING
19 # if (__SUNPRO_CC <= 0x520)
27 # define LIBSMBIOS_NO_INCLASS_MEMBER_INITIALIZATION
34 # define LIBSMBIOS_NO_TEMPLATE_PARTIAL_SPECIALIZATION
37 # if (__SUNPRO_CC <= 0x530)
44 # define LIBSMBIOS_NO_INCLASS_MEMBER_INITIALIZATION
57 # define LIBSMBIOS_NO_INTEGRAL_INT64_T
60 # if (__SUNPRO_CC < 0x570)
61 # define LIBSMBIOS_NO_TEMPLATE_TEMPLATES
64 # define LIBSMBIOS_NO_INCLASS_MEMBER_INITIALIZATION
65 # define LIBSMBIOS_NO_SFINAE
66 # define LIBSMBIOS_NO_ARRAY_TYPE_SPECIALIZATIONS
68 # if (__SUNPRO_CC <= 0x580)
69 # define LIBSMBIOS_NO_IS_ABSTRACT
75 #define LIBSMBIOS_NO_TWO_PHASE_NAME_LOOKUP
76 #define LIBSMBIOS_NO_ADL_BARRIER
82 #if(__SUNPRO_CC >= 0x590)
83 # define LIBSMBIOS_HAS_LONG_LONG
85 # define LIBSMBIOS_NO_LONG_LONG
88 #define LIBSMBIOS_NO_AUTO_DECLARATIONS
89 #define LIBSMBIOS_NO_AUTO_MULTIDECLARATIONS
90 #define LIBSMBIOS_NO_CHAR16_T
91 #define LIBSMBIOS_NO_CHAR32_T
92 #define LIBSMBIOS_NO_CONCEPTS
93 #define LIBSMBIOS_NO_CONSTEXPR
94 #define LIBSMBIOS_NO_DECLTYPE
95 #define LIBSMBIOS_NO_DEFAULTED_FUNCTIONS
96 #define LIBSMBIOS_NO_DELETED_FUNCTIONS
97 #define LIBSMBIOS_NO_EXPLICIT_CONVERSION_OPERATORS
98 #define LIBSMBIOS_NO_EXTERN_TEMPLATE
99 #define LIBSMBIOS_NO_FUNCTION_TEMPLATE_DEFAULT_ARGS
100 #define LIBSMBIOS_NO_INITIALIZER_LISTS
101 #define LIBSMBIOS_NO_LAMBDAS
102 #define LIBSMBIOS_NO_NULLPTR
103 #define LIBSMBIOS_NO_RAW_LITERALS
104 #define LIBSMBIOS_NO_RVALUE_REFERENCES
105 #define LIBSMBIOS_NO_SCOPED_ENUMS
106 #define LIBSMBIOS_NO_SFINAE_EXPR
107 #define LIBSMBIOS_NO_STATIC_ASSERT
108 #define LIBSMBIOS_NO_TEMPLATE_ALIASES
109 #define LIBSMBIOS_NO_UNICODE_LITERALS
110 #define LIBSMBIOS_NO_VARIADIC_TEMPLATES
116 #define LIBSMBIOS_COMPILER "Sun compiler version " LIBSMBIOS_STRINGIZE(__SUNPRO_CC)
121 #if __SUNPRO_CC < 0x400
122 #error "Compiler not supported or configured - please reconfigure"
126 #if (__SUNPRO_CC > 0x590)
127 # if defined(LIBSMBIOS_ASSERT_CONFIG)
128 # error "Unknown compiler version - please run the configure tests and report the results"
132 #ifndef UNREFERENCED_PARAMETER
133 #define UNREFERENCED_PARAMETER(P) ((void)(P))
136 #define LIBSMBIOS_PACKED_ATTR __attribute__ ((packed))
138 #define _dbg_iostream_out(stream, line) do { stream << line; } while(0)
139 #define _dbg_cout(line) _dbg_iostream_out(cout, line)
140 #define _dbg_cerr(line) _dbg_iostream_out(cerr, line)
141 #define _null_call( args...) do {} while(0)
142 #ifdef DEBUG_OUTPUT_ALL
144 #define DCOUT _dbg_cout
145 #define DCERR _dbg_cerr
147 #define DCOUT _null_call
148 #define DCERR _null_call
151 #define MARK_UNUSED __attribute__((unused))