Update of /cvsroot/monetdb/pathfinder/modules/pftijah
In directory 
sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv18414/pathfinder/modules/pftijah

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/modules/pftijah/Makefile.ag,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- Makefile.ag 1 Apr 2007 21:45:20 -0000       1.20
+++ Makefile.ag 23 Aug 2007 13:40:18 -0000      1.21
@@ -29,12 +29,19 @@
 LFLAGS = -olex.yy.c
 YFLAGS = -d -p nexi
 
+#  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).
+#
 #  Some versions of flex & bison seem to generate code that icc does not like;
 #  we use ICC_BISON_CFLAGS to disable the respective warning as
 #  locally as possible via "-wd177"
 #  (#177: label "." was declared but never referenced)
 #  (see also MonetDB/conf/monet.m4).
-CFLAGS = $(ICC_BISON_CFLAGS)
+CFLAGS = $(ICC_BISON_CFLAGS) $(GCC_BISON_CFLAGS)
 
 lib__pftijah = {
        DIR = libdir/MonetDB4


-------------------------------------------------------------------------
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

Reply via email to