From 4e4b7676f91dcc1448b3560a6e67e79dc561862b Mon Sep 17 00:00:00 2001 From: shahramn Date: Mon, 4 Mar 2024 11:04:54 +0000 Subject: [PATCH] C++ flags: No need for suppressing writable-strings warnings --- CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2b340ad1d..3ff3609ac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -73,9 +73,9 @@ endif() ############################################################################### # some variables/options of this project -ecbuild_add_cxx_flags("-Wno-write-strings" NO_FAIL) -ecbuild_add_cxx_flags("-Wno-writable-strings" NO_FAIL) -ecbuild_add_cxx_flags("-Wno-deprecated" NO_FAIL) +# ecbuild_add_cxx_flags("-Wno-write-strings" NO_FAIL) +# ecbuild_add_cxx_flags("-Wno-writable-strings" NO_FAIL) +# ecbuild_add_cxx_flags("-Wno-deprecated" NO_FAIL) if( CMAKE_CXX_COMPILER_ID STREQUAL "Cray" ) set(CMAKE_CXX_FLAGS "-hstd=c++11 ${CMAKE_CXX_FLAGS}")