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

Modified Files:
      Tag: Clients_1-20
        Makefile.ag 
Log Message:

undoing my yesterday's changes
"
mark knownly unused parameters in the code
instead of squashing the compiler error
"

while working fine for php-swig, perl-swig on some platforms
seems to generate code (beyond our control) that requires
-Wno-unused-parameter


Index: Makefile.ag
===================================================================
RCS file: /cvsroot/monetdb/clients/src/python/Cimpl/Makefile.ag,v
retrieving revision 1.5.2.3
retrieving revision 1.5.2.4
diff -u -d -r1.5.2.3 -r1.5.2.4
--- Makefile.ag 6 Nov 2007 14:22:14 -0000       1.5.2.3
+++ Makefile.ag 7 Nov 2007 07:55:34 -0000       1.5.2.4
@@ -23,10 +23,11 @@
 #  (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", and/or
+#  "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-undef".
+#  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',


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

Reply via email to