Commit 9f800d35 authored by Olivier Crête's avatar Olivier Crête

configure: Remove -Wswitch-enum

Creates useless warnings when other libraries change.

https://phabricator.freedesktop.org/T7770
parent 63d273ce
...@@ -154,7 +154,6 @@ AS_IF([test "$enable_compile_warnings" = "yes" -o \ ...@@ -154,7 +154,6 @@ AS_IF([test "$enable_compile_warnings" = "yes" -o \
]) ])
AS_IF([test "$enable_compile_warnings" = "maximum" -o \ AS_IF([test "$enable_compile_warnings" = "maximum" -o \
"$enable_compile_warnings" = "error"],[ "$enable_compile_warnings" = "error"],[
NICE_ADD_FLAG([-Wswitch-enum])
NICE_ADD_FLAG([-Wswitch-default]) NICE_ADD_FLAG([-Wswitch-default])
NICE_ADD_FLAG([-Waggregate-return]) NICE_ADD_FLAG([-Waggregate-return])
]) ])
......
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