Commit 90ceccbd authored by Olivier Crête's avatar Olivier Crête 👻

configure: Remove -Wunsafe-loop-optimizations, it causes false warnings

parent 4f7c0773
......@@ -157,7 +157,6 @@ AS_IF([test "$enable_compile_warnings" = "maximum" -o \
"$enable_compile_warnings" = "error"],[
NICE_ADD_FLAG([-Wswitch-enum])
NICE_ADD_FLAG([-Wswitch-default])
NICE_ADD_FLAG([-Wunsafe-loop-optimizations])
NICE_ADD_FLAG([-Waggregate-return])
])
AS_IF([test "x$enable_compile_warnings" = "xerror"],[
......
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