[Pkg-telepathy-commits] [libnice] 135/265: configure: Move -Werror=unsafe-loop-optimizations to the maximum level
Simon McVittie
smcv at debian.org
Wed May 14 12:05:01 UTC 2014
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch debian
in repository libnice.
commit e7d0930179f4cab85822586d25e3a7706cade1e1
Author: Olivier Crête <olivier.crete at collabora.com>
Date: Tue Feb 4 21:29:04 2014 -0500
configure: Move -Werror=unsafe-loop-optimizations to the maximum level
It tends to cause false warnings
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index a92b181..948916d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -143,7 +143,6 @@ AS_IF([test "$enable_compile_warnings" = "yes" -o \
"$enable_compile_warnings" = "error"],[
NICE_ADD_FLAG([-Wsign-compare])
NICE_ADD_FLAG([-Wstrict-aliasing])
- NICE_ADD_FLAG([-Wunsafe-loop-optimizations])
NICE_ADD_FLAG([-Wshadow])
NICE_ADD_FLAG([-Winline])
NICE_ADD_FLAG([-Wpacked])
@@ -159,6 +158,7 @@ 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"],[
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/libnice.git
More information about the Pkg-telepathy-commits
mailing list