aboutsummaryrefslogtreecommitdiff
path: root/pan
diff options
context:
space:
mode:
authorGarrett Cooper <yanegomi@gmail.com>2010-12-21 01:33:49 -0800
committerGarrett Cooper <yanegomi@gmail.com>2010-12-21 01:33:49 -0800
commit5bd4dbd29a5492b19ea6dc761fa22fd71e961896 (patch)
treece648c84d73fe9ae0cd0c41c90f392295d4e8e76 /pan
parenta0ac15987eb3f0687376ccc52ca2fd232847d500 (diff)
Turn on -Wno-error in pan.
All of the nasty warnings have been resolved; all of the errors from here on out are in the generated lex code that we don't have control over. Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Diffstat (limited to 'pan')
-rw-r--r--pan/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/pan/Makefile b/pan/Makefile
index 4b8de15a0..a6e2bdea6 100644
--- a/pan/Makefile
+++ b/pan/Makefile
@@ -25,6 +25,10 @@ top_srcdir ?= ..
include $(top_srcdir)/include/mk/env_pre.mk
include $(top_srcdir)/include/mk/functions.mk
+# XXX (garrcoop): some versions of flex/bison generate crap code that doesn't
+# check the return code from fwrite(3).
+CPPFLAGS += -Wno-error
+
CPPFLAGS += -I$(abs_srcdir)
LDLIBS += -lm $(LEXLIB)