A compiler dependent macros.
More...
Go to the source code of this file.
|
#define | GP_WUR |
| Expands to warn_unused_result attribute when supported by the compiler.
|
|
#define | GP_FMT_PRINTF(fmt, list) |
| Expands to format printf attribute when supported by the compiler.
|
|
#define | GP_FMT_SCANF(fmt, list) |
| Expands to format scanf attribute when supported by the compiler.
|
|
#define | GP_IS_CONSTANT(x) 0 |
| Expands to __buildin_constant_p() if supported by the compiler.
|
|
#define | GP_LIKELY(cond) (cond) |
| Expands to __buildin_expect() if supported by the compiler.
|
|
#define | GP_UNLIKELY(cond) (cond) |
| Expands to __buildin_expect() if supported by the compiler.
|
|
#define | GP_UNUSED(x) x |
| Expands to unused attribute if supported by the compiler.
|
|
#define | GP_PACKED |
| Expand to packed attribute if supported by the compiler.
|
|
A compiler dependent macros.
Definition in file gp_compiler.h.