Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 zephyrproject-rtos#21506. Signed-off-by: Ulf Magnusson <[email protected]>
- Loading branch information