Update of /cvsroot/monetdb/clients/src/perl/Cimpl
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv26845/src/perl/Cimpl
Modified Files:
Tag: Clients_1-20
Makefile.ag
Log Message:
While our strict compiler flags have proved vauleable to find bug in our own
code more than once,
we cannot control generated code and why compiler does or not like which kind
of generated code.
Hence, we disable the strict compiler flags for swig-generated code, again.
ToDo:
Separate ourown code from (swig-)generated code in sql/src/backends/monet[45]/
Index: Makefile.ag
===================================================================
RCS file: /cvsroot/monetdb/clients/src/perl/Cimpl/Makefile.ag,v
retrieving revision 1.4.4.5
retrieving revision 1.4.4.6
diff -u -d -r1.4.4.5 -r1.4.4.6
--- Makefile.ag 7 Nov 2007 08:23:00 -0000 1.4.4.5
+++ Makefile.ag 19 Nov 2007 10:44:51 -0000 1.4.4.6
@@ -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