Commit 966eea0f authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

[t:4871] disable -Wshadow on osx


git-svn-id: file:///svn/toku/tokudb@43881 c7de825b-a66e-492c-adef-691d508d4ae1
parent 48b981c8
...@@ -127,8 +127,12 @@ else() ...@@ -127,8 +127,12 @@ else()
-Wmissing-declarations -Wmissing-declarations
-Wpointer-arith -Wpointer-arith
-Wmissing-format-attribute -Wmissing-format-attribute
-Wshadow
) )
if (CMAKE_SYSTEM_NAME STREQUAL Darwin)
message(WARNING "Disabling -Wshadow on osx. TODO: fix shadowed declarations and re-enable it.")
else ()
list(APPEND WARN_CFLAGS -Wshadow)
endif ()
endif() endif()
set_cflags_if_supported(${WARN_CFLAGS}) set_cflags_if_supported(${WARN_CFLAGS})
......
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