[PATCH 1/5] Weston: Enable more warnings

Martin Minarik minarik11 at student.fiit.stuba.sk
Sat Mar 31 03:50:44 PDT 2012


diff --git a/configure.ac b/configure.ac
index f60b208..d794f72 100644
--- a/configure.ac
+++ b/configure.ac
@@ -170,7 +170,7 @@ AC_ARG_ENABLE(tests,
 AM_CONDITIONAL(BUILD_TESTS, test x$enable_tests = xyes)

 if test "x$GCC" = "xyes"; then
-	GCC_CFLAGS="-Wall -g -Wstrict-prototypes -Wmissing-prototypes
-fvisibility=hidden"
+	GCC_CFLAGS="-Wall -Wextra -Wno-unused-parameter -g -Wstrict-prototypes
-Wmissing-prototypes -fvisibility=hidden"
 fi
 AC_SUBST(GCC_CFLAGS)




More information about the wayland-devel mailing list