Bug #70071 [NEW]: 'makes pointer from integer without a cast' in several function calls

From: Date: Tue, 14 Jul 2015 12:34:06 +0000
Subject: Bug #70071 [NEW]: 'makes pointer from integer without a cast' in several function calls
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-194434@lists.php.net to get a copy of this message
From: pgajdos at suse dot cz Operating system: PHP version: 7.0.0beta1 Package: InterBase related Bug Type: Bug Bug description:'makes pointer from integer without a cast' in several function calls 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 bug report at https://bugs.php.net/bug.php?id=70071&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70071&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70071&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70071&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=70071&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=70071&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=70071&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=70071&r=needscript Try newer version: https://bugs.php.net/fix.php?id=70071&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=70071&r=support Expected behavior: https://bugs.php.net/fix.php?id=70071&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=70071&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=70071&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=70071&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70071&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=70071&r=dst IIS Stability: https://bugs.php.net/fix.php?id=70071&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=70071&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=70071&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=70071&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=70071&r=mysqlcfg

« previous php.bugs (#194434) next »