aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorsfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>2007-03-26 06:10:52 +0000
committersfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>2007-03-26 06:10:52 +0000
commit0f1ffc83c6da1383b2026f94619dbf036642cec2 (patch)
treeb9f9d98a83bf6452d40eed647a29d2cd21cdfecd /tools
parent8d78cdec248284e715dda5e411e856a3632967ba (diff)
Fix a bunch more warnings. Add -Werror when using --with-warnings-as-errors
under gcc to tools/lemon, plugins/mate and epan/ git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21204 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tools')
-rw-r--r--tools/lemon/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/lemon/Makefile.am b/tools/lemon/Makefile.am
index e9179ec19b..2bfe3cf0ac 100644
--- a/tools/lemon/Makefile.am
+++ b/tools/lemon/Makefile.am
@@ -25,6 +25,10 @@
# is an archive library, any executable linking against libwireshark will
# also need to link against libftypes.
+if HAVE_WARNINGS_AS_ERRORS
+AM_CFLAGS = -Werror
+endif
+
noinst_PROGRAMS = lemon
CLEANFILES = \