Update of /cvsroot/monetdb/pathfinder/compiler/parser
In directory
sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv26883/pathfinder/compiler/parser
Modified Files:
Makefile.ag
Log Message:
When configured with --enable-strict, let gcc also complain about undefined
macros:
`gcc -Wundef`.
However, some bison generated code apparenly inherently contains/uses undefined
marcos;
hence, we locally overrule -Wundef by -Wno-undef in those cases.
Index: Makefile.ag
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/parser/Makefile.ag,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- Makefile.ag 3 Jan 2007 12:32:58 -0000 1.14
+++ Makefile.ag 23 Aug 2007 19:33:22 -0000 1.15
@@ -29,9 +29,13 @@
YFLAGS = -d -p pf
LFLAGS = -Ppf -olex.yy.c
-## disable -Werror,
-## since flex/bison produce code that does not pass "-Wall -Werror"
-X_CFLAGS =
+# Some versions of flex & bison seem to generate code
+# that does not compile with `gcc -Wundef`;
+# we use GCC_BISON_CFLAGS to disable the respective warning as
+# locally as possible via "-Wno-undef"
+# (see also MonetDB4/src/monet/Makefile.ag, sql/src/server/Makefile.ag,
+# buildtools/conf/monet.m4, amdb/src/lang/Makefile.ag).
+CFLAGS = $(GCC_BISON_CFLAGS)
INCLUDES = ../include $(MONETDB_INCS) $(LIBXML2_CFLAGS)
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins