Commit 6d243ec4 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 637bb2d6
......@@ -152,9 +152,8 @@ set_cflags_if_supported(
#-Wvector-optimization-performance
)
if (CMAKE_CXX_COMPILER_ID STREQUAL Clang)
message(WARNING "Disabling -Wcast-align with clang. TODO: fix casting and re-enable it.")
else ()
if (NOT CMAKE_CXX_COMPILER_ID STREQUAL Clang)
# Disabling -Wcast-align with clang. TODO: fix casting and re-enable it, someday.
set_cflags_if_supported(-Wcast-align)
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