include/: cleanup: add Kconfig for suppressing warnings
Suppress warnings from deprecated header shims. Use when you have an application that needs to work with older versions of Zephyr where headers were located in different directories. The shim will go away after two releases, so make sure to adapt your application for the new locations. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
bceca79804
commit
cdfddecb35
1 changed files with 12 additions and 0 deletions
|
@ -427,3 +427,15 @@ config MISRA_SANE
|
||||||
arrays are not permitted (and gcc will enforce this).
|
arrays are not permitted (and gcc will enforce this).
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
|
||||||
|
menu "Compatibility"
|
||||||
|
|
||||||
|
config COMPAT_INCLUDES
|
||||||
|
bool "Suppress warnings when using header shims"
|
||||||
|
default y
|
||||||
|
help
|
||||||
|
Suppress any warnings from the pre-processor when including
|
||||||
|
deprecated header files.
|
||||||
|
|
||||||
|
endmenu
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue