mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
716fc76f13
`-Watomic-alignment` warns when C11 atomics have to be implemented via a to one of the functions in `core/atomic_c11.c`. Unlike to the context of Desktop or Server class machines, the performance penalty of this calls is insignificant (and not existing with LTO). So this is not an issue in our context. On the other hand: Keeping `-Watomic-alignment` prevents building applications using C11 atomics on all platforms the atomic operations are not implemented without calls to `core/atomic_c11.c` (due to `-Werror`), reducing portability. So not only does the warning is not useful in our context, it actually prevents portable use of C11 atomics. It is the most sensible thing to just disable it. |
||
---|---|---|
.. | ||
gnu.inc.mk | ||
llvm.inc.mk |