zephyr/cmake/compiler
Carles Cufi 892ac07a4a cmake: Add a new no_deprecation_warning compiler flag
Commit be40d854c2ccacf14ca3fcfb01bffdc9b075c6c9 introduced the ability
of building Zephyr with deprecation warnings enabled, by making
COMPILER_WARNINGS_AS_ERRORS depend on the newly added DEPRECATION_TEST
Kconfig option. This has the downside of disabling **all** warnings, not
only the deprecation ones.

This patch instead makes DEPRECATION_TEST disable only the deprecation
warning, but leaves COMPILER_WARNINGS_AS_ERRORS enabled.
This has the advantage of being able to see other unrelated warnings
(and fail if they appear) but has the disadvantage of not printing out
the deprecation warnings themselves (since they are disabled).

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
2025-06-23 12:38:07 -07:00
..
arcmwdt cmake: Fix compilation options for kobject_hash*.c 2025-05-31 07:02:36 -04:00
armclang cmake: compiler: Remove -fshort-enums 2025-06-06 11:52:22 +02:00
clang cmake: compiler: Remove -fshort-enums 2025-06-06 11:52:22 +02:00
gcc cmake: Add a new no_deprecation_warning compiler flag 2025-06-23 12:38:07 -07:00
host-gcc
iar iar: toolchain: arm: Fix FPU settings for CM55 and CM85 2025-04-14 13:06:41 +02:00
icx cmake: toolchain: remove obsolete and unused macros 2024-09-04 21:26:59 +02:00
xcc cmake: xcc/xt-clang: fix for proper system include paths 2025-06-11 16:10:53 -07:00
xt-clang cmake: xcc/xt-clang: fix for proper system include paths 2025-06-11 16:10:53 -07:00
compiler_features.cmake
compiler_flags_template.cmake cmake: Add a new no_deprecation_warning compiler flag 2025-06-23 12:38:07 -07:00