Bug #70071 [Asn->Csd]: 'makes pointer from integer without a cast' in several function calls
Edit report at https://bugs.php.net/bug.php?id=70071&edit=1
ID: 70071
Updated by: krakjoe@php.net
Reported by: pgajdos at suse dot cz
Summary: 'makes pointer from integer without a cast' in
several function calls
-Status: Assigned
+Status: Closed
Type: Bug
Package: InterBase related
PHP Version: 7.0.0beta1
Assigned To: mariuz
Block user comment: N
Private report: N
New Comment:
This was fixed sometime after the beta releases, and is not reproducible today.
It could not have been caused by interbase; That symbol is defined in a file that should have been
included by zend api headers (which every extension must include), it never required explicit
inclusion.
Closing the bug.
Previous Comments:
------------------------------------------------------------------------
[2015-07-14 13:32:31] ab@php.net
Hi Marius,
please take a look.
Thanks.
------------------------------------------------------------------------
[2015-07-14 12:34:05] pgajdos at suse dot cz
Description:
------------
'makes pointer from integer without a cast' warning appears several times in interbase
code:
[ 167s] /home/abuild/rpmbuild/BUILD/php-7.0.0beta1/ext/interbase/interbase.c:1239:62: warning:
passing argument 1 of 'zend_fetch_resource2_ex' makes pointer from integer without a cast
[-Wint-conversion]
[ 167s] /home/abuild/rpmbuild/BUILD/php-7.0.0beta1/ext/interbase/interbase.c:1333:54: warning:
passing argument 1 of 'zend_fetch_resource2_ex' makes pointer from integer without a cast
[-Wint-conversion]
[ 167s] /home/abuild/rpmbuild/BUILD/php-7.0.0beta1/ext/interbase/interbase.c:1442:68: warning:
passing argument 1 of 'zend_fetch_resource2' makes pointer from integer without a cast
[-Wint-conversion]
[ 167s] /home/abuild/rpmbuild/BUILD/php-7.0.0beta1/ext/interbase/ibase_query.c:1144:56: warning:
passing argument 1 of 'zend_fetch_resource2_ex' makes pointer from integer without a cast
[-Wint-conversion]
[ 167s] /home/abuild/rpmbuild/BUILD/php-7.0.0beta1/ext/interbase/ibase_query.c:1213:54: warning:
passing argument 1 of 'zend_fetch_resource2_ex' makes pointer from integer without a cast
[-Wint-conversion]
[ 167s] /home/abuild/rpmbuild/BUILD/php-7.0.0beta1/ext/interbase/ibase_query.c:1743:54: warning:
passing argument 1 of 'zend_fetch_resource2_ex' makes pointer from integer without a cast
[-Wint-conversion]
[ 167s] /home/abuild/rpmbuild/BUILD/php-7.0.0beta1/ext/interbase/ibase_events.c:105:40: warning:
passing argument 1 of 'isc_event_block' from incompatible pointer type
[-Wincompatible-pointer-types]
[ 167s] /home/abuild/rpmbuild/BUILD/php-7.0.0beta1/ext/interbase/ibase_events.c:118:19: warning:
passing argument 1 of 'isc_event_counts' from incompatible pointer type
[-Wincompatible-pointer-types]
[ 167s] /home/abuild/rpmbuild/BUILD/php-7.0.0beta1/ext/interbase/ibase_events.c:155:59: warning:
passing argument 1 of 'zend_fetch_resource2_ex' makes pointer from integer without a cast
[-Wint-conversion]
[ 167s] /home/abuild/rpmbuild/BUILD/php-7.0.0beta1/ext/interbase/ibase_events.c:178:19: warning:
passing argument 1 of 'isc_event_counts' from incompatible pointer type
[-Wincompatible-pointer-types]
[ 167s] /home/abuild/rpmbuild/BUILD/php-7.0.0beta1/ext/interbase/ibase_events.c:224:21: warning:
passing argument 1 of 'isc_event_counts' from incompatible pointer type
[-Wincompatible-pointer-types]
[ 167s] /home/abuild/rpmbuild/BUILD/php-7.0.0beta1/ext/interbase/ibase_events.c:313:59: warning:
passing argument 1 of 'zend_fetch_resource2_ex' makes pointer from integer without a cast
[-Wint-conversion]
[ 167s] /home/abuild/rpmbuild/BUILD/php-7.0.0beta1/ext/interbase/ibase_blobs.c:216:68: warning:
passing argument 1 of 'zend_fetch_resource2' makes pointer from integer without a cast
[-Wint-conversion]
[ 167s] /home/abuild/rpmbuild/BUILD/php-7.0.0beta1/ext/interbase/ibase_blobs.c:261:68: warning:
passing argument 1 of 'zend_fetch_resource2' makes pointer from integer without a cast
[-Wint-conversion]
[ 167s] /home/abuild/rpmbuild/BUILD/php-7.0.0beta1/ext/interbase/ibase_blobs.c:424:68: warning:
passing argument 1 of 'zend_fetch_resource2' makes pointer from integer without a cast
[-Wint-conversion]
[ 167s] /home/abuild/rpmbuild/BUILD/php-7.0.0beta1/ext/interbase/ibase_blobs.c:501:68: warning:
passing argument 1 of 'zend_fetch_resource2' makes pointer from integer without a cast
[-Wint-conversion]
[ 167s] /home/abuild/rpmbuild/BUILD/php-7.0.0beta1/ext/interbase/ibase_blobs.c:554:68: warning:
passing argument 1 of 'zend_fetch_resource2' makes pointer from integer without a cast
[-Wint-conversion]
See https://build.opensuse.org/package/live_build_log/devel:languages:php:php7/php7/openSUSE_Tumbleweed/x86_64
for details.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70071&edit=1
Thread (3 messages)