configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) New commits: commit bdb87236dcbc1187b15e1a457e130ff997b0949b Author: Stephan Bergmann <sberg...@redhat.com> Date: Mon Mar 25 15:04:13 2013 +0100
Fix pragma GCC diagnostic checks Change-Id: I2967db165e3faed316628e5d538a1928474ece84 diff --git a/configure.ac b/configure.ac index ac433c8..5397ed4 100644 --- a/configure.ac +++ b/configure.ac @@ -5565,7 +5565,7 @@ if test "$GCC" = "yes"; then AC_MSG_CHECKING( [whether $CC supports pragma GCC diagnostic error/ignored/warning]) save_CFLAGS=$CFLAGS - CFLAGS="$CFLAGS -Werror -Wunused" + CFLAGS="$CFLAGS -Werror -Wunknown-pragmas -Wunused-parameter" AC_COMPILE_IFELSE([AC_LANG_SOURCE([ #pragma GCC diagnostic ignored "-Wunused-parameter" void dummy(int n) {} @@ -5577,7 +5577,7 @@ if test "$GCC" = "yes"; then AC_MSG_CHECKING([whether $CC supports pragma GCC diagnostic push/pop]) save_CFLAGS=$CFLAGS - CFLAGS="$CFLAGS -Werror -Wunused" + CFLAGS="$CFLAGS -Werror -Wunknown-pragmas -Wunused-parameter" AC_COMPILE_IFELSE([AC_LANG_SOURCE([ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-parameter" _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits