configure: Remove -Wunsafe-loop-optimizations, it causes false warnings
authorOlivier Crête <olivier.crete@collabora.com>
Fri, 7 Mar 2014 01:51:23 +0000 (20:51 -0500)
committerOlivier Crête <olivier.crete@collabora.com>
Fri, 7 Mar 2014 01:51:23 +0000 (20:51 -0500)
configure.ac

index d1ad2d5..d84f114 100644 (file)
@@ -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"],[