mirror of https://github.com/ecmwf/eccodes.git
C++ flags: No need for suppressing writable-strings warnings
This commit is contained in:
parent
2482483e76
commit
4e4b7676f9
|
@ -73,9 +73,9 @@ endif()
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# some variables/options of this project
|
# some variables/options of this project
|
||||||
|
|
||||||
ecbuild_add_cxx_flags("-Wno-write-strings" 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-writable-strings" NO_FAIL)
|
||||||
ecbuild_add_cxx_flags("-Wno-deprecated" NO_FAIL)
|
# ecbuild_add_cxx_flags("-Wno-deprecated" NO_FAIL)
|
||||||
|
|
||||||
if( CMAKE_CXX_COMPILER_ID STREQUAL "Cray" )
|
if( CMAKE_CXX_COMPILER_ID STREQUAL "Cray" )
|
||||||
set(CMAKE_CXX_FLAGS "-hstd=c++11 ${CMAKE_CXX_FLAGS}")
|
set(CMAKE_CXX_FLAGS "-hstd=c++11 ${CMAKE_CXX_FLAGS}")
|
||||||
|
|
Loading…
Reference in New Issue