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:
afad58c
)
compiler-warnings: Move -Wnested-externs to the always-on warning set
author
Colin Walters
<walters@verbum.org>
Mon, 12 Nov 2012 20:02:38 +0000
(15:02 -0500)
committer
Colin Walters
<walters@verbum.org>
Mon, 12 Nov 2012 20:23:12 +0000
(15:23 -0500)
Since there's no reason to have it different for yes/maximum.
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
c4cc1c6
..
7017b25
100644
(file)
--- a/
macros2/gnome-compiler-flags.m4
+++ b/
macros2/gnome-compiler-flags.m4
@@
-24,6
+24,7
@@
AC_DEFUN([GNOME_COMPILE_WARNINGS],[
base_warn_flags=" \
-Wall \
-Wstrict-prototypes \
+ -Wnested-externs \
"
dnl These compiler flags typically indicate very broken or suspicious
@@
-53,7
+54,6
@@
AC_DEFUN([GNOME_COMPILE_WARNINGS],[
maximum|error)
warning_flags="$base_warn_flags $base_error_flags \
-Wdeclaration-after-statement \
- -Wnested-externs \
-Wno-sign-compare"
;;
*)