Submodules | |
| Compiler | |
Macros | |
| #define | _PW_PRINTF_FORMAT_TYPE printf |
| #define | _PW_REQUIRE_SEMICOLON static_assert(1, "This macro must be terminated with a semicolon") |
| #define | _PW_VA_OPT_SUPPORTED(...) _PW_VA_OPT_SUPPORTED_##__VA_OPT__() |
| #define | _PW_VA_OPT_SUPPORTED_ 1 |
| #define | _PW_VA_OPT_SUPPORTED___VA_OPT__() 0 |
| #define | PW_NO_UNIQUE_ADDRESS |
| #define _PW_PRINTF_FORMAT_TYPE printf |
When compiling for host using MinGW, use gnu_printf() rather than printf() to support z format specifiers only if available (non-clang compilers).
| #define PW_NO_UNIQUE_ADDRESS |
PW_NO_UNIQUE_ADDRESS indicates that an object can have no unique address. This is usually used to force empty member types to occupy 0 bytes instead of 1 byte to have a unique address.