summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2008-12-02 14:53:59 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2008-12-02 14:53:59 +0000
commitec2d1eeb60cff564461ef4f0c0c1de2590e9abab (patch)
treed6e1196cafe77001322d5e3166d303dc533cf7de
parent1501d6c5893cfd57ba1bba6f26c04eb7289529b5 (diff)
downloadvte-ec2d1eeb60cff564461ef4f0c0c1de2590e9abab.tar.gz
Add -Wno-switch-enum warning flag as we are not -Wswitch-enum clean.
2008-12-02 Behdad Esfahbod <behdad@gnome.org> * configure.in: Add -Wno-switch-enum warning flag as we are not -Wswitch-enum clean. svn path=/trunk/; revision=2303
-rw-r--r--ChangeLog5
-rw-r--r--configure.in5
2 files changed, 6 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 7bca64bc..b9b8e7a2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2008-12-02 Behdad Esfahbod <behdad@gnome.org>
+ * configure.in: Add -Wno-switch-enum warning flag as we are not
+ -Wswitch-enum clean.
+
+2008-12-02 Behdad Esfahbod <behdad@gnome.org>
+
* src/vte.c (vte_terminal_extend_selection_on_type),
(vte_terminal_extend_selection):
Cut one third of the 400-line function out into a function of its own.
diff --git a/configure.in b/configure.in
index 6bfeefc8..9adb551f 100644
--- a/configure.in
+++ b/configure.in
@@ -148,10 +148,7 @@ MAYBE_WARN="-Wall -Wextra \
-Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations \
-Wdeclaration-after-statement -Wold-style-definition \
-Wno-missing-field-initializers -Wno-unused-parameter \
--fno-common"
-
-dnl Other flags you may wish to try: -Wswitch-enum
-
+-fno-common -Wno-switch-enum"
# invalidate cached value if MAYBE_WARN has changed
if test "x$vte_cv_warn_maybe" != "x$MAYBE_WARN"; then