From: Alban Browaeys Date: Wed, 1 Aug 2012 12:43:21 +0000 (+0200) Subject: configure: -Werror= make no sense for "no" and "extra" X-Git-Tag: FOLKS_0_7_4_1~85 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a6de27c8f8b5dba0aeafa85ac6c2b5b979a9f77f;p=platform%2Fupstream%2Ffolks.git configure: -Werror= make no sense for "no" and "extra" gcc error out when -Werror=extra -Werror=no-* are used. And it is the most sensible thing to do. https://bugzilla.gnome.org/show_bug.cgi?id=680976 --- diff --git a/configure.ac b/configure.ac index 294ddac..6394bde 100644 --- a/configure.ac +++ b/configure.ac @@ -467,9 +467,9 @@ m4_if(folks_released, [1], [], -a x$winit_self = xyes -a x$wformat = xyes -a \ x$wmissing_include_dirs = xyes -a x$waggregate_return = xyes -a \ x$wdeclaration_after_statement = xyes; then - ERROR_CFLAGS="$ERROR_CFLAGS ${flag}extra \ - ${flag}no-missing-field-initializers \ - ${flag}no-unused-parameter ${flag}strict-prototypes \ + ERROR_CFLAGS="$ERROR_CFLAGS -Wextra \ + -Wno-missing-field-initializers \ + -Wno-unused-parameter ${flag}strict-prototypes \ ${flag}missing-prototypes ${flag}implicit-function-declaration \ ${flag}pointer-arith ${flag}init-self ${flag}format=2 \ ${flag}missing-include-dirs ${flag}aggregate-return \