zephyr/cmake/compiler
Keith Packard 0f692f5b84 compiler/clang: ignore main-return-type warning for clang
Unlike gcc, clang splits out the flag controlling warnings about the return
type of `main' from other warnings related to that function. Add the extra
-Wno-main-return-type flag to mask these warnings when building Zephyr
without -ffreestanding, as when using picolibc.

Signed-off-by: Keith Packard <keithp@keithp.com>
2023-02-20 09:50:59 +01:00
..
arcmwdt toolchain: Move extra warning options to toolchain abstraction 2023-02-19 20:34:13 -05:00
armclang cmake: gcc: target_arm: Support advanced floating-point options 2022-05-05 12:03:27 +09:00
clang compiler/clang: ignore main-return-type warning for clang 2023-02-20 09:50:59 +01:00
gcc toolchain: Move extra warning options to toolchain abstraction 2023-02-19 20:34:13 -05:00
host-gcc cmake: provide a useful error msg when native compiler is missing 2023-02-09 22:10:16 +09:00
icx
xcc treewide: Use CONFIG_CPP instead of CONFIG_CPLUSPLUS 2023-01-13 17:42:55 -05:00
xcc-clang xcc-clang: add default C includes when build C++ code 2023-02-10 18:05:14 -06:00
compiler_features.cmake cmake: CMake compile features support 2021-10-01 14:40:33 -04:00
compiler_flags_template.cmake toolchain: Move extra warning options to toolchain abstraction 2023-02-19 20:34:13 -05:00