Update of /cvsroot/monetdb/clients/src/perl/Cimpl
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv17672/src/perl/Cimpl

Modified Files:
        Makefile.ag 
Log Message:
propagated changes of Saturday Nov 17 2007 - Tuesday Nov 20 2007
from the Clients_1-20 branch to the development trunk


Index: Makefile.ag
===================================================================
RCS file: /cvsroot/monetdb/clients/src/perl/Cimpl/Makefile.ag,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- Makefile.ag 8 Nov 2007 19:13:44 -0000       1.7
+++ Makefile.ag 20 Nov 2007 13:24:18 -0000      1.8
@@ -26,7 +26,13 @@
 #  we use GCC_SWIG_CFLAGS and ICC_SWIG_CFLAGS, respectively,
 #  to disable only the problematic warnings/errors as locally as possbile.
 #  See buildtools/conf/MonetDB.m4 for details.
-CFLAGS = $(GCC_SWIG_CFLAGS) $(ICC_SWIG_CFLAGS) -D_GNU_SOURCE
+#CFLAGS = $(GCC_SWIG_CFLAGS) $(ICC_SWIG_CFLAGS) -D_GNU_SOURCE
+#
+#  However, at least with gcc 4.2.2 and swig 1.3.31 on Gentoo 1.12.9, we still 
get
+#  MapiLib.pm.c: In function 'boot_MapiLib':
+#  MapiLib.pm.c:6157: warning: passing argument 2 of '_swig_create_magic' 
discards qualifiers from pointer target type
+#  Hence, we have to disable (override) our X_CFLAGS completely:
+X_CFLAGS = -D_GNU_SOURCE
 
 lib_MapiLib = {
        PREFIX =


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to