zephyr/cmake/compiler
Stephanos Ioannidis 0a63ca6131 cmake: clang: Disable deprecated non-prototype warning
Clang 15 added a new warning type `-Wdeprecated-non-prototype` that
warns about the functions without prototypes, which have been
deprecated since the C89 and will not work in the upcoming C2x.

This commit disables the warning because Zephyr deliberately makes use
of the functions without prototypes to allow the use of a "generic"
function pointer (notoriously in the cbprintf implementation) and
Zephyr will not move to the C2x in the foreseeable future.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-10-03 17:56:26 +09:00
..
arcmwdt compiler: arcmwdt: Add ccac version checking 2022-09-20 09:02:38 +00:00
armclang cmake: gcc: target_arm: Support advanced floating-point options 2022-05-05 12:03:27 +09:00
clang cmake: clang: Disable deprecated non-prototype warning 2022-10-03 17:56:26 +09:00
gcc cmake: fix utterly cryptic error handling in the -DSPARSE=y build 2022-09-22 15:12:22 +00:00
host-gcc cmake: Populate var CMAKE_GCOV 2021-09-02 19:44:00 -04:00
icx
xcc cmake: fix use of unsupported -fno-pie with xcc 2022-08-29 08:40:29 -04:00
xcc-clang xcc-clang: Do not used unavailable options 2022-08-23 10:13:43 +02:00
compiler_features.cmake cmake: CMake compile features support 2021-10-01 14:40:33 -04:00
compiler_flags_template.cmake xcc-clang: Do not used unavailable options 2022-08-23 10:13:43 +02:00