projects
/
platform
/
upstream
/
gnome-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eeca390
)
compiler-warnings: Drop -Wdeclaration-after-statement
author
Colin Walters
<walters@verbum.org>
Mon, 12 Nov 2012 20:06:44 +0000
(15:06 -0500)
committer
Colin Walters
<walters@verbum.org>
Mon, 12 Nov 2012 20:23:17 +0000
(15:23 -0500)
Some GNOME modules want the ability to use C99, let's not hamper them.
https://bugzilla.gnome.org/show_bug.cgi?id=688192
macros2/gnome-compiler-flags.m4
patch
|
blob
|
history
diff --git
a/macros2/gnome-compiler-flags.m4
b/macros2/gnome-compiler-flags.m4
index
14e55c8
..
c190137
100644
(file)
--- a/
macros2/gnome-compiler-flags.m4
+++ b/
macros2/gnome-compiler-flags.m4
@@
-52,9
+52,7
@@
AC_DEFUN([GNOME_COMPILE_WARNINGS],[
warning_flags="$base_warn_flags $base_error_flags"
;;
maximum|error)
- warning_flags="$base_warn_flags $base_error_flags \
- -Wdeclaration-after-statement \
- "
+ warning_flags="$base_warn_flags $base_error_flags"
;;
*)
AC_MSG_ERROR(Unknown argument '$enable_compile_warnings' to --enable-compile-warnings)