zephyr/include/toolchain
Ulf Magnusson 46f98d86c7 include: gcc.h: Add a __WARN() macro with a custom warning on expansion
Works like __DEPRECATED_MACRO with a custom message. Can do this for
example:

    #define FOO __WARN("Please use BAR instead") ...

Implement __DEPRECATED_MACRO with __WARN().

Useful for https://github.com/zephyrproject-rtos/zephyr/pull/21506.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2020-02-01 08:48:17 -05:00
..
common.h x86: consolidate x86_64 architecture, SoC and boards 2019-10-25 17:57:55 -04:00
gcc.h include: gcc.h: Add a __WARN() macro with a custom warning on expansion 2020-02-01 08:48:17 -05:00
xcc.h toolchain: xcc: use Clang if exists 2020-01-07 17:09:38 +01:00
xcc_missing_defs.h toolchain/xcc: augment compiler provided macros to match gcc and clang 2019-07-03 06:09:16 -04:00
zephyr_stdint.h stdint.h: streamline type definitions 2019-06-25 23:29:22 -04:00