mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:12:57 +01:00
58e197098d
`WITHOUT_PEDANTIC(expr)` disables `-Wpedantic` for `expr`, but switches back to the previous diagnostic settings afterwards. This helps defining macros that are not strictly ISO compliant without having to drop the `-Wpedantic` flag entirely. `DECLARE_CONSTANT(identifier, const_expr)` declares an anonymous `enum` constant named `identifier` and assigns it the value `const_expr`. Here, `const_expr` has to be a compile time constant, but is not needed to be an integer constant expression. It basically is a tool to magically convert a non-integer constant expression into a integer constant expression. |
||
---|---|---|
.. | ||
macros | ||
assert.h | ||
bitarithm.h | ||
cib.h | ||
clist.h | ||
cond.h | ||
debug.h | ||
irq.h | ||
kernel_defines.h | ||
kernel_init.h | ||
list.h | ||
log.h | ||
mbox.h | ||
msg_bus.h | ||
msg.h | ||
mutex.h | ||
native_sched.h | ||
panic.h | ||
priority_queue.h | ||
ringbuffer.h | ||
rmutex.h | ||
sched.h | ||
thread_config.h | ||
thread_flags.h | ||
thread.h | ||
xfa.h |