Commit 9bf3cfcc authored by Daniel Black's avatar Daniel Black Committed by Brandon Nesterenko

MDEV-34348: Add cast-function-type-strict to warnings

parent a2c5fb54
......@@ -44,7 +44,7 @@ SET(MY_WARNING_FLAGS
# Warning flags that are in testing before moving
# to MY_WARNING_FLAGS if stable.
SET(MY_WARNING_FLAGS_NON_FATAL
effc++
cast-function-type-strict
)
FOREACH(F ${MY_WARNING_FLAGS})
......@@ -52,6 +52,7 @@ FOREACH(F ${MY_WARNING_FLAGS})
ENDFOREACH()
FOREACH(F ${MY_WARNING_FLAGS_NON_FATAL})
MY_CHECK_AND_SET_COMPILER_FLAG(-W${F} DEBUG RELWITHDEBINFO)
MY_CHECK_AND_SET_COMPILER_FLAG(-Wno-error=${F} DEBUG RELWITHDEBINFO)
ENDFOREACH()
......
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