[Monetdb-developers] [Monetdb-checkins] MonetDB/src/mapi/clients/php/Cimpl php_monetdb.c, 1.54, 1.55 php_monetdb.h, 1.20, 1.21

Stefan Manegold Stefan.Manegold at cwi.nl
Thu Nov 2 15:46:13 CET 2006


Fabian,

thanks for the fixes!

unfortunately, there are (at least I get) still quite some warnings with
both gcc & icc (see attachments); hence, it's still too early to re-enable
strict flags for php ...

Stefan

On Thu, Nov 02, 2006 at 02:15:00PM +0000, Fabian wrote:
> Update of /cvsroot/monetdb/MonetDB/src/mapi/clients/php/Cimpl
> In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv4902
> 
> Modified Files:
> 	php_monetdb.c php_monetdb.h 
> Log Message:
> Resolve two warnings in our php module.  It now compiles without any
> warnings.  I'm not quite sure how to enable strict flags for php again.
> 
> 
> Index: php_monetdb.h
> ===================================================================
> RCS file: /cvsroot/monetdb/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.h,v
> retrieving revision 1.20
> retrieving revision 1.21
> diff -u -d -r1.20 -r1.21
> --- php_monetdb.h	26 May 2006 08:45:35 -0000	1.20
> +++ php_monetdb.h	2 Nov 2006 14:14:58 -0000	1.21
> @@ -124,6 +124,10 @@
>  #define MONETDB_DML_ASYNC             (1<<10)    /* Do async query */
>  #define MONETDB_DML_STRING            (1<<11)    /* Return query string */
>  
> +/* avoid redeclaration */
> +#ifdef _POSIX_C_SOURCE
> +# undef _POSIX_C_SOURCE
> +#endif
>  
>  #include "Mapi.h"
>  /* typedefs for convenience; not using Mapi's as those already are a
> 
> Index: php_monetdb.c
> ===================================================================
> RCS file: /cvsroot/monetdb/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c,v
> retrieving revision 1.54
> retrieving revision 1.55
> diff -u -d -r1.54 -r1.55
> --- php_monetdb.c	24 Oct 2006 14:26:18 -0000	1.54
> +++ php_monetdb.c	2 Nov 2006 14:14:58 -0000	1.55
> @@ -616,13 +616,13 @@
>  		 */
>  		if (!(connect_type & MONETDB_CONNECT_FORCE_NEW)
>  			&& zend_hash_find(&EG(regular_list),str.c,str.len+1,(void **) &index_ptr)==SUCCESS) {
> -			int type,link;
> +			int type, link;
>  			void *ptr;
>  
>  			if (Z_TYPE_P(index_ptr) != le_index_ptr) {
>  				RETURN_FALSE;
>  			}
> -			link = (int) index_ptr->ptr;
> +			link = (int)(size_t) index_ptr->ptr;
>  			ptr = zend_list_find(link,&type);   /* check if the link is still there */
>  			if (ptr && (type==le_link || type==le_plink)) {
>  				Z_LVAL_P(return_value) = link;
> 
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Monetdb-checkins mailing list
> Monetdb-checkins at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monetdb-checkins
> 
> 
> 
> 

-- 
| Dr. Stefan Manegold | mailto:Stefan.Manegold at cwi.nl |
| CWI,  P.O.Box 94079 | http://www.cwi.nl/~manegold/  |
| 1090 GB Amsterdam   | Tel.: +31 (20) 592-4212       |
| The Netherlands     | Fax : +31 (20) 592-4312       |
-------------- next part --------------
/bin/sh ../../../../../libtool --tag=CC --mode=compile gcc -m64 -DHAVE_CONFIG_H -I. -I/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl -I../../../../.. -I/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl -I../../C -I/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/../../C -I../../../../common -I/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/../../../../common -I -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/ -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend    -std=c99 -Wall -W -g -DCOMPILE_DL_MONETDB=1 -D_GNU_SOURCE  -D_REENTRANT -c -o php_monetdb.lo /ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c
mkdir .libs
 gcc -m64 -DHAVE_CONFIG_H -I. -I/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl -I../../../../.. -I/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl -I../../C -I/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/../../C -I../../../../common -I/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/../../../../common -I -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/ -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -std=c99 -Wall -W -g -DCOMPILE_DL_MONETDB=1 -D_GNU_SOURCE -D_REENTRANT -c /ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c  -fPIC -DPIC -o .libs/php_monetdb.o
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:131: warning: missing initializer
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:131: warning: (near initialization for 'monetdb_functions[29].num_args')
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:375: warning: unused parameter 'type'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:424: warning: unused parameter 'type'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:436: warning: unused parameter 'type'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:436: warning: unused parameter 'module_number'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:446: warning: unused parameter 'type'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:446: warning: unused parameter 'module_number'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c: In function 'php_monetdb_do_connect':
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:498: warning: missing initializer
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:498: warning: (near initialization for 'str.len')
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c: At top level:
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:487: warning: unused parameter 'this_ptr'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:487: warning: unused parameter 'return_value_used'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:694: warning: unused parameter 'this_ptr'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:694: warning: unused parameter 'return_value_used'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:742: warning: unused parameter 'this_ptr'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:742: warning: unused parameter 'return_value_used'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:840: warning: unused parameter 'this_ptr'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:840: warning: unused parameter 'return_value_used'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:872: warning: unused parameter 'this_ptr'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:872: warning: unused parameter 'return_value_used'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:1293: warning: unused parameter 'this_ptr'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:1293: warning: unused parameter 'return_value_used'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:1350: warning: unused parameter 'this_ptr'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:1350: warning: unused parameter 'return_value_used'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:1377: warning: unused parameter 'this_ptr'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:1377: warning: unused parameter 'return_value_used'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:1448: warning: unused parameter 'this_ptr'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:1448: warning: unused parameter 'return_value_used'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:1479: warning: unused parameter 'this_ptr'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:1479: warning: unused parameter 'return_value_used'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:1561: warning: unused parameter 'this_ptr'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:1561: warning: unused parameter 'return_value_used'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:1785: warning: unused parameter 'this_ptr'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:1785: warning: unused parameter 'return_value_used'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:1812: warning: unused parameter 'this_ptr'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:1812: warning: unused parameter 'return_value_used'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:1912: warning: unused parameter 'this_ptr'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:1912: warning: unused parameter 'return_value_used'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:1932: warning: unused parameter 'this_ptr'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:1932: warning: unused parameter 'return_value_used'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:1952: warning: unused parameter 'this_ptr'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:1952: warning: unused parameter 'return_value_used'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:1971: warning: unused parameter 'this_ptr'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:1971: warning: unused parameter 'return_value_used'
/ufs/manegold/_/scratch0/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c:245: warning: '_php_monetdb_notice_handler' defined but not used
-------------- next part --------------
/bin/sh ../../../../../libtool --tag=CC --mode=compile icc -no-gcc -DHAVE_CONFIG_H -I. -I/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl -I../../../../.. -I/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl -I../../C -I/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/../../C -I../../../../common -I/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/../../../../common -I -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/ -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend    -we140 -wd1418 -c99 -Wall -w2 -g -DCOMPILE_DL_MONETDB=1 -D_GNU_SOURCE  -D_REENTRANT -c -o php_monetdb.lo /net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c
mkdir .libs
 icc -no-gcc -DHAVE_CONFIG_H -I. -I/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl -I../../../../.. -I/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl -I../../C -I/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/../../C -I../../../../common -I/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/../../../../common -I -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/ -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -we140 -wd1418 -c99 -Wall -w2 -g -DCOMPILE_DL_MONETDB=1 -D_GNU_SOURCE -D_REENTRANT -c /net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c  -KPIC -DPIC -o .libs/php_monetdb.o
/usr/include/php/Zend/zend.h(83): remark #193: zero used for undefined preprocessing identifier
  #if HAVE_MACH_O_DYLD_H
      ^

/usr/include/php/Zend/zend_objects_API.h(80): remark #310: old-style parameter list (anachronism)
  ZEND_API zend_object_handlers *zend_get_std_object_handlers();
                                 ^

/usr/include/php/Zend/zend_execute.h(82): remark #1572: floating-point equality and inequality comparisons are unreliable
  			result = (op->value.dval ? 1 : 0);
  			                           ^

/usr/include/php/main/php.h(85): remark #193: zero used for undefined preprocessing identifier
  #if HAVE_UNIX_H
      ^

/usr/include/php/main/php_streams.h(549): remark #310: old-style parameter list (anachronism)
  PHPAPI HashTable *php_get_stream_filters_hash_global();
                    ^

/usr/include/php/TSRM/tsrm_config_common.h(4): remark #193: zero used for undefined preprocessing identifier
  #if WINNT|WIN32
      ^

/usr/include/php/TSRM/tsrm_config_common.h(4): remark #193: zero used for undefined preprocessing identifier
  #if WINNT|WIN32
            ^

/usr/include/php/main/php_ini.h(27): remark #310: old-style parameter list (anachronism)
  int php_init_config();
      ^

/usr/include/php/ext/standard/basic_functions.h(234): remark #310: old-style parameter list (anachronism)
  PHPAPI double php_get_nan();
                ^

/usr/include/php/ext/standard/basic_functions.h(235): remark #310: old-style parameter list (anachronism)
  PHPAPI double php_get_inf();
                ^

/usr/include/php/main/php_network.h(161): remark #810: conversion from "int" to "short" may lose significant bits
  	p.events = events;
  	         ^

/usr/include/php/main/php_network.h(179): remark #810: conversion from "int" to "short" may lose significant bits
  	p.events = events;
  	         ^

/usr/include/php/ext/standard/php_smart_str.h(153): remark #810: conversion from "int" to "char" may lose significant bits
  	smart_str_print_long4(buf, num, unsigned long, r); 
  	^

/usr/include/php/ext/standard/php_smart_str.h(153): remark #810: conversion from "int" to "char" may lose significant bits
  	smart_str_print_long4(buf, num, unsigned long, r); 
  	^

/usr/include/php/ext/standard/php_smart_str.h(159): remark #810: conversion from "int" to "char" may lose significant bits
  	smart_str_print_unsigned4(buf, num, unsigned long, r); 
  	^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(375): remark #869: parameter "type" was never referenced
  PHP_MINIT_FUNCTION(monetdb)
  ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(424): remark #869: parameter "type" was never referenced
  PHP_MSHUTDOWN_FUNCTION(monetdb)
  ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(436): remark #869: parameter "type" was never referenced
  PHP_RINIT_FUNCTION(monetdb)
  ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(436): remark #869: parameter "module_number" was never referenced
  PHP_RINIT_FUNCTION(monetdb)
  ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(446): remark #869: parameter "type" was never referenced
  PHP_RSHUTDOWN_FUNCTION(monetdb)
  ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(446): remark #869: parameter "module_number" was never referenced
  PHP_RSHUTDOWN_FUNCTION(monetdb)
  ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(509): warning #175: subscript out of range
  			convert_to_long_ex(args[6]);
  			^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(509): warning #175: subscript out of range
  			convert_to_long_ex(args[6]);
  			^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(509): warning #175: subscript out of range
  			convert_to_long_ex(args[6]);
  			^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(509): warning #175: subscript out of range
  			convert_to_long_ex(args[6]);
  			^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(509): warning #175: subscript out of range
  			convert_to_long_ex(args[6]);
  			^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(509): warning #175: subscript out of range
  			convert_to_long_ex(args[6]);
  			^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(509): warning #175: subscript out of range
  			convert_to_long_ex(args[6]);
  			^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(509): warning #175: subscript out of range
  			convert_to_long_ex(args[6]);
  			^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(509): warning #175: subscript out of range
  			convert_to_long_ex(args[6]);
  			^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(510): warning #175: subscript out of range
  			connect_type = Z_LVAL_PP(args[6]);
  			               ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(513): warning #175: subscript out of range
  			convert_to_string_ex(args[5]);
  			^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(513): warning #175: subscript out of range
  			convert_to_string_ex(args[5]);
  			^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(513): warning #175: subscript out of range
  			convert_to_string_ex(args[5]);
  			^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(513): warning #175: subscript out of range
  			convert_to_string_ex(args[5]);
  			^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(513): warning #175: subscript out of range
  			convert_to_string_ex(args[5]);
  			^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(513): warning #175: subscript out of range
  			convert_to_string_ex(args[5]);
  			^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(513): warning #175: subscript out of range
  			convert_to_string_ex(args[5]);
  			^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(513): warning #175: subscript out of range
  			convert_to_string_ex(args[5]);
  			^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(513): warning #175: subscript out of range
  			convert_to_string_ex(args[5]);
  			^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(514): warning #175: subscript out of range
  			database = Z_STRVAL_PP(args[5]);
  			           ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(487): remark #869: parameter "this_ptr" was never referenced
  static void php_monetdb_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent)
                                     ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(487): remark #869: parameter "return_value_used" was never referenced
  static void php_monetdb_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent)
                                     ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(694): remark #869: parameter "this_ptr" was never referenced
  PHP_FUNCTION(monetdb_close)
  ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(694): remark #869: parameter "return_value_used" was never referenced
  PHP_FUNCTION(monetdb_close)
  ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(783): remark #111: statement is unreachable
  		} return;
  		  ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(789): remark #981: operands are evaluated in unspecified order
  			add_assoc_string(return_value, "mapi", mapi_get_mapi_version(monetdb), 1);
  			^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(789): remark #981: operands are evaluated in unspecified order
  			add_assoc_string(return_value, "mapi", mapi_get_mapi_version(monetdb), 1);
  			^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(790): remark #981: operands are evaluated in unspecified order
  			add_assoc_string(return_value, "mserver", mapi_get_monet_version(monetdb), 1);
  			^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(790): remark #981: operands are evaluated in unspecified order
  			add_assoc_string(return_value, "mserver", mapi_get_monet_version(monetdb), 1);
  			^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(742): remark #869: parameter "this_ptr" was never referenced
  static void php_monetdb_get_link_info(INTERNAL_FUNCTION_PARAMETERS, int entry_type)
                                        ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(742): remark #869: parameter "return_value_used" was never referenced
  static void php_monetdb_get_link_info(INTERNAL_FUNCTION_PARAMETERS, int entry_type)
                                        ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(840): remark #869: parameter "this_ptr" was never referenced
  PHP_FUNCTION(monetdb_ping)
  ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(840): remark #869: parameter "return_value_used" was never referenced
  PHP_FUNCTION(monetdb_ping)
  ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(872): remark #869: parameter "this_ptr" was never referenced
  PHP_FUNCTION(monetdb_query)
  ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(872): remark #869: parameter "return_value_used" was never referenced
  PHP_FUNCTION(monetdb_query)
  ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(1293): remark #869: parameter "this_ptr" was never referenced
  static void php_monetdb_get_result_info(INTERNAL_FUNCTION_PARAMETERS, int entry_type)
                                          ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(1293): remark #869: parameter "return_value_used" was never referenced
  static void php_monetdb_get_result_info(INTERNAL_FUNCTION_PARAMETERS, int entry_type)
                                          ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(1350): remark #869: parameter "this_ptr" was never referenced
  PHP_FUNCTION(monetdb_last_notice) 
  ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(1350): remark #869: parameter "return_value_used" was never referenced
  PHP_FUNCTION(monetdb_last_notice) 
  ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(1377): remark #869: parameter "this_ptr" was never referenced
  static void php_monetdb_get_field_info(INTERNAL_FUNCTION_PARAMETERS, int entry_type)
                                         ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(1377): remark #869: parameter "return_value_used" was never referenced
  static void php_monetdb_get_field_info(INTERNAL_FUNCTION_PARAMETERS, int entry_type)
                                         ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(1448): remark #869: parameter "this_ptr" was never referenced
  PHP_FUNCTION(monetdb_field_num)
  ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(1448): remark #869: parameter "return_value_used" was never referenced
  PHP_FUNCTION(monetdb_field_num)
  ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(1479): remark #869: parameter "this_ptr" was never referenced
  PHP_FUNCTION(monetdb_fetch_result)
  ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(1479): remark #869: parameter "return_value_used" was never referenced
  PHP_FUNCTION(monetdb_fetch_result)
  ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(1696): remark #1599: declaration hides parameter "ht" (declared at line 1561)
  					HashTable *ht = Z_ARRVAL_P(ctor_params);
  					           ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(1561): remark #869: parameter "this_ptr" was never referenced
  static void php_monetdb_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, long result_type, int into_object)
                                     ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(1561): remark #869: parameter "return_value_used" was never referenced
  static void php_monetdb_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, long result_type, int into_object)
                                     ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(1785): remark #869: parameter "this_ptr" was never referenced
  PHP_FUNCTION(monetdb_result_seek)
  ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(1785): remark #869: parameter "return_value_used" was never referenced
  PHP_FUNCTION(monetdb_result_seek)
  ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(1812): remark #869: parameter "this_ptr" was never referenced
  static void php_monetdb_data_info(INTERNAL_FUNCTION_PARAMETERS, int entry_type)
                                    ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(1812): remark #869: parameter "return_value_used" was never referenced
  static void php_monetdb_data_info(INTERNAL_FUNCTION_PARAMETERS, int entry_type)
                                    ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(1912): remark #869: parameter "this_ptr" was never referenced
  PHP_FUNCTION(monetdb_free_result)
  ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(1912): remark #869: parameter "return_value_used" was never referenced
  PHP_FUNCTION(monetdb_free_result)
  ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(1932): remark #869: parameter "this_ptr" was never referenced
  PHP_FUNCTION(monetdb_escape_string)
  ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(1932): remark #869: parameter "return_value_used" was never referenced
  PHP_FUNCTION(monetdb_escape_string)
  ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(1952): remark #869: parameter "this_ptr" was never referenced
  PHP_FUNCTION(monetdb_connection_status)
  ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(1952): remark #869: parameter "return_value_used" was never referenced
  PHP_FUNCTION(monetdb_connection_status)
  ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(1971): remark #869: parameter "this_ptr" was never referenced
  PHP_FUNCTION(monetdb_connection_reset)
  ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(1971): remark #869: parameter "return_value_used" was never referenced
  PHP_FUNCTION(monetdb_connection_reset)
  ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(155): remark #593: variable "le_lofp" was set but never used
  static int le_link, le_plink, le_result, le_lofp, le_string;
                                           ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(155): remark #593: variable "le_string" was set but never used
  static int le_link, le_plink, le_result, le_lofp, le_string;
                                                    ^

/net/corona.ins.cwi.nl/export/scratch0/manegold/Monet/Testing/Current/MonetDB/src/mapi/clients/php/Cimpl/php_monetdb.c(244): remark #177: function "_php_monetdb_notice_handler" was declared but never referenced
  static void _php_monetdb_notice_handler(void *resource_id, const char *message)
              ^



More information about the developers-list mailing list