From 97c23d694e913a53f47086ba2c937bbd3a4e8014 Mon Sep 17 00:00:00 2001 From: Torsten Rasmussen Date: Thu, 24 Oct 2024 12:12:03 +0200 Subject: [PATCH] Revert "[nrf fromtree] cmake: use the warnings_as_errors flag for cpp files" Some nRF Connect SDK samples are generating warnings for C++ code. nRF Connect SDK CI treats warnings as errors for code, but this was previous not active for C++ source code. Therfore revert the upstream warning-as-errors flag for C++ code. Revert this commit when nRF Connect SDK C++ source code is clear from warnings. This reverts commit f3e3cedba999b1c6364e97f6660490d297d45ea4. Signed-off-by: Torsten Rasmussen --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dd57ebde230..7f3895a22cc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -152,7 +152,6 @@ zephyr_compile_options($<$:$:$>) - zephyr_compile_options($<$:$>) zephyr_compile_options($<$:$>) zephyr_link_libraries($) endif()