Changeset: f0c06f53b2e1 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f0c06f53b2e1
Modified Files:
        clients/perl/Cimpl/Makefile.ag
Branch: Apr2011
Log Message:

(again try to) relax strict compiler option with swig code only locally


diffs (20 lines):

diff --git a/clients/perl/Cimpl/Makefile.ag b/clients/perl/Cimpl/Makefile.ag
--- a/clients/perl/Cimpl/Makefile.ag
+++ b/clients/perl/Cimpl/Makefile.ag
@@ -24,14 +24,14 @@
 #  GCC_SWIG_CFLAGS and ICC_SWIG_CFLAGS, respectively, to disable only
 #  the problematic warnings/errors as locally as possible.  See
 #  configure.ag 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
+#X_CFLAGS = -D_GNU_SOURCE
 
 #  Likewise, we need to disable W_CFLAGS=-WX (i.e., treating warnings
 #  as errors) for swig-generated code on Windows
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to