[Swfdec-commits] 2 commits - configure.ac
Benjamin Otte
company at kemper.freedesktop.org
Tue Dec 23 14:31:00 PST 2008
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 4896d9248458771f0335ef20aab9d174cbb46792
Author: Benjamin Otte <otte at gnome.org>
Date: Tue Dec 23 23:30:34 2008 +0100
add more warning flags for gcc 4.4
diff --git a/configure.ac b/configure.ac
index 722dba1..66699b7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,7 +31,7 @@ dnl decide on error flags
dnl if we support them, we set them unconditionally
dnl FIXME: I want this but stupid headers don't let me: -Wshadow
dnl FIXME: readd -Wlogical-op when http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36513 is solved
-AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wformat-nonliteral -Wformat-security -Wswitch-enum -Wswitch-default -Winit-self -Wmissing-include-dirs -Wundef -Waggregate-return -Wmissing-format-attribute -Wnested-externs")
+AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wformat-nonliteral -Wformat-security -Wswitch-enum -Wswitch-default -Winit-self -Wmissing-include-dirs -Wundef -Waggregate-return -Wmissing-format-attribute -Wnested-externs -Wunsafe-loop-optimizations -Wpacked -Winvalid-pch -Wsync-nand")
dnl if we're in nano >= 1, add -Werror if supported
if test x$SWFDEC_DEVEL = xyes ; then
AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Werror")
commit 6c1bb344df86e5329f7b8bb61dc46d768de072ab
Author: Benjamin Otte <otte at gnome.org>
Date: Tue Dec 23 21:59:44 2008 +0100
fix warning flags
-Waddress is part of -Wall and -Wno-multichar disables a warning (oops)
diff --git a/configure.ac b/configure.ac
index 9705bab..722dba1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,7 +31,7 @@ dnl decide on error flags
dnl if we support them, we set them unconditionally
dnl FIXME: I want this but stupid headers don't let me: -Wshadow
dnl FIXME: readd -Wlogical-op when http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36513 is solved
-AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wformat-nonliteral -Wformat-security -Wswitch-enum -Wswitch-default -Winit-self -Wmissing-include-dirs -Wundef -Waddress -Waggregate-return -Wmissing-format-attribute -Wno-multichar -Wnested-externs")
+AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wformat-nonliteral -Wformat-security -Wswitch-enum -Wswitch-default -Winit-self -Wmissing-include-dirs -Wundef -Waggregate-return -Wmissing-format-attribute -Wnested-externs")
dnl if we're in nano >= 1, add -Werror if supported
if test x$SWFDEC_DEVEL = xyes ; then
AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Werror")
More information about the Swfdec-commits
mailing list