zephyr/cmake
Sebastian Bøe 01d8dc0289 cmake: toolchain: Don't add -Werror=implicit-int to CXX builds
We do compiler flag compatibility tests to be able to support many
different toolchains and flags in a scalable way. But the test is not
perfect and in these situations we we will need to hardcode whether a
flag is compatible or not.

To support this we have zephyr_compiler_check first check if the flag
is covered by a hardcoded test before testing it.

Currently the only hardcoded compatibilty is that -Werror=implicit-int
is not supported for CXX.

This fixes #21229

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2019-12-12 07:58:45 -06:00
..
app cmake: app mem partion flexibility 2019-11-05 08:44:26 -08:00
backports cmake: Fixed a bug where python 3.8 was not detected on Windows 2019-11-04 14:32:41 +01:00
bintools cmake: Toolchain abstraction: Abstraction of binary tool, strip. 2019-08-02 13:05:59 +02:00
compiler cmake: Add GCC -Og flag fallback to -O0. 2019-12-09 16:17:12 +01:00
emu cmake: Support renode 1.8.2. 2019-11-15 17:37:17 -05:00
flash cmake: Don't test whether the installed west is the bootstrapper 2019-11-05 17:43:50 +01:00
ide
linker/ld cmake: Use zephyr_link_libraries in toolchain_ld_cpp. 2019-11-07 16:37:50 +01:00
reports
toolchain sdk: add support for Zephyr SDK 0.11 2019-11-13 10:32:02 -06:00
usage
util
boards.cmake
ccache.cmake
cfb.cmake generated/cfb_font_dice.h: don't leak absolute paths in comment 2019-06-19 08:40:59 -04:00
dts.cmake cmake: Change the DTS preprocessing work directory 2019-12-09 16:34:55 -05:00
extensions.cmake cmake: toolchain: Don't add -Werror=implicit-int to CXX builds 2019-12-12 07:58:45 -06:00
extra_flags.cmake
gcc-m-cpu.cmake arch: arm: Add Cortex-R5 support 2019-08-09 22:50:50 +02:00
generic_toolchain.cmake cmake: Toolchain abstraction: Abstraction of binary tools, foundation. 2019-07-31 11:09:35 +02:00
git.cmake
hex.cmake
host-tools.cmake cmake: -fmacro-prefix-map=${WEST_TOPDIR}=WEST_TOPDIR 2019-11-06 21:17:56 +01:00
kconfig.cmake hardening: Introducing hardenconfig tool 2019-12-09 12:54:29 -05:00
kobj.cmake cmake: Fix missing dependency 2019-05-16 07:47:18 -05:00
pristine.cmake
python.cmake cmake: Instruct Python to use UTF-8 on Windows 2019-07-26 12:00:45 +02:00
target_toolchain.cmake cmake: Toolchain abstraction: Abstraction of binary tools, foundation. 2019-07-31 11:09:35 +02:00
version.cmake
zephyr_module.cmake