Commit 2e9717cb authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

refs #4871 remove cmake warning about -Wcast-align. It's been long enough and...

refs #4871 remove cmake warning about -Wcast-align.  It's been long enough and we're not fixing it any time soon.

git-svn-id: file:///svn/toku/tokudb@54397 c7de825b-a66e-492c-adef-691d508d4ae1
parent f586dc95
...@@ -152,9 +152,8 @@ set_cflags_if_supported( ...@@ -152,9 +152,8 @@ set_cflags_if_supported(
#-Wvector-optimization-performance #-Wvector-optimization-performance
) )
if (CMAKE_CXX_COMPILER_ID STREQUAL Clang) if (NOT CMAKE_CXX_COMPILER_ID STREQUAL Clang)
message(WARNING "Disabling -Wcast-align with clang. TODO: fix casting and re-enable it.") # Disabling -Wcast-align with clang. TODO: fix casting and re-enable it, someday.
else ()
set_cflags_if_supported(-Wcast-align) set_cflags_if_supported(-Wcast-align)
endif () endif ()
......
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