Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build system: Add MACRO_DEPRECATED macro
Adding this macro in the definition of a macro causes a warning about the deprecation to be emitted when used (and a build failure with `WERROR=1`). This is useful as no other means to deprecate preprocessor macros are provided. The macro will be defined empty for compilers that are not GCC or clang.
- Loading branch information