Commit 0e79c104 authored by jcfr's avatar jcfr
Browse files

COMP: Added C/CXX flag: -Wno-deprecated

Allow to shutdown the following warning:
...backward_warning.h:28:2: warning: #warning This file includes at
least one deprecated or antiquated header which may be removed without
 further notice at a future date. Please use a non-deprecated interface
with equivalent functionality instead. For a listing of replacement
headers and interfaces, consult the file backward_warning.h. To disable
this warning use -Wno-deprecated.

git-svn-id: 3bd1e089-480b-0410-8dfb-8563597acbee
parent f452f918
......@@ -190,7 +190,7 @@ IF(CMAKE_COMPILER_IS_GNUCXX)
# Note: -Wold-style-cast is too verbose
SET(Slicer_C_FLAGS "${cflags} ${Slicer_C_FLAGS}")
SET(Slicer_CXX_FLAGS "${cflags} -Wsign-promo -Woverloaded-virtual -Wstrict-null-sentinel ${Slicer_CXX_FLAGS}")
SET(Slicer_CXX_FLAGS "${cflags} -Wno-deprecated -Wsign-promo -Woverloaded-virtual -Wstrict-null-sentinel ${Slicer_CXX_FLAGS}")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment