Update of /cvsroot/monetdb/clients/src/php/Cimpl
In directory
sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv1874/clients/src/php/Cimpl
Modified Files:
Tag: Clients_1-20
Makefile.ag
Log Message:
on some platforms perl-swig generated code also requires
-Wno-missing-field-initializers with gcc.
Index: Makefile.ag
===================================================================
RCS file: /cvsroot/monetdb/clients/src/php/Cimpl/Makefile.ag,v
retrieving revision 1.4.4.4
retrieving revision 1.4.4.5
diff -u -d -r1.4.4.4 -r1.4.4.5
--- Makefile.ag 7 Nov 2007 07:55:33 -0000 1.4.4.4
+++ Makefile.ag 7 Nov 2007 08:23:01 -0000 1.4.4.5
@@ -22,23 +22,12 @@
# we need this flag to allow for a name that does not start with "lib"
monetdb_la_LDFLAGS = -module
-# GNU's gcc does not like to compile swig-generated code
-# (at least not with our strict X_CFLAGS), complaining about
-# "warning: dereferencing type-punned pointer will break strict-aliasing
rules",
-# "warning: unused variable '...'",
-# "warning: '...' defined but not used",
-# "warning: unused parameter '...'", and/or
-# 'error: "..." is not defined'.
-# Hence, we use GCC_SWIG_CFLAGS to disable the respective warning
-# as locally as possbile via "-Wno-strict-aliasing -Wno-unused-variable
-Wno-unused-function -Wno-unused-parameter -Wno-undef".
-# Intel's icc does not like to compile swig-generated code
-# (at least not with our strict X_CFLAGS), complaining about
-# 'error #869: parameter "..." was never referenced',
-# 'error #177: function "..." was declared but never referenced', and/or
-# 'error #310: old-style parameter list (anachronism)'.
-# Hence, we use ICC_SWIG_CFLAGS to disable the respective warning
-# as locally as possbile via "-wd869 -wd177 -wd310".
-# (See also buildtools/conf/MonetDB.m4.)
+# Both GNU's gcc and Intel's icc do not like to compile swig-generated code
+# with our strict X_CFLAGS.
+# Instead of diabling the strict X_CFLAGS completely,
+# 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) -DCOMPILE_DL_MONETDB=1
-D_GNU_SOURCE
SUBDIRS = examples
-------------------------------------------------------------------------
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-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins