C++ flags: No need for suppressing writable-strings warnings

This commit is contained in:
shahramn 2024-03-04 11:04:54 +00:00
parent 2482483e76
commit 4e4b7676f9
1 changed files with 3 additions and 3 deletions

View File

@ -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}")