diff options
author | Morgan Deters <mdeters@gmail.com> | 2010-04-05 17:17:38 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2010-04-05 17:17:38 +0000 |
commit | 802f822594a1f2f7e742b9f33d23e78cca0f6863 (patch) | |
tree | 404af34fab05b941f0cb498ecf1c67b8d6340ee2 /src/parser | |
parent | 7ad68dee25a36dc5950adaec32948d0157cb673c (diff) |
fix most of the warnings in the parser by (1) quieting unused-function and unused-variable warnings in the generated code, which aren't useful, and (2) not #including our autoheader stuff in the parser, which was conflicting with antlr3's
Diffstat (limited to 'src/parser')
-rw-r--r-- | src/parser/cvc/Makefile.am | 2 | ||||
-rw-r--r-- | src/parser/smt/Makefile.am | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/parser/cvc/Makefile.am b/src/parser/cvc/Makefile.am index 08e6c4d52..288b79b15 100644 --- a/src/parser/cvc/Makefile.am +++ b/src/parser/cvc/Makefile.am @@ -1,7 +1,7 @@ AM_CPPFLAGS = \ -D__BUILDING_CVC4PARSERLIB \ -I@srcdir@/../../include -I@srcdir@/../.. $(ANTLR_INCLUDES) -AM_CXXFLAGS = -Wall $(FLAG_VISIBILITY_HIDDEN) +AM_CXXFLAGS = -Wall $(FLAG_VISIBILITY_HIDDEN) -Wno-unused-function -Wno-unused-variable # Compile generated C files using C++ compiler CC=$(CXX) diff --git a/src/parser/smt/Makefile.am b/src/parser/smt/Makefile.am index 3ffe61b05..792527816 100644 --- a/src/parser/smt/Makefile.am +++ b/src/parser/smt/Makefile.am @@ -1,7 +1,7 @@ AM_CPPFLAGS = \ -D__BUILDING_CVC4PARSERLIB \ -I@srcdir@/../../include -I@srcdir@/../.. $(ANTLR_INCLUDES) -AM_CXXFLAGS = -Wall $(FLAG_VISIBILITY_HIDDEN) +AM_CXXFLAGS = -Wall $(FLAG_VISIBILITY_HIDDEN) -Wno-unused-function -Wno-unused-variable # Compile generated C files using C++ compiler AM_CFLAGS = $(AM_CXXFLAGS) |