ID: 32795 Updated by: [EMAIL PROTECTED] Reported By: JClawson at tamu dot edu -Status: Open +Status: Closed Bug Type: Compile Failure Operating System: * (with GCC 4 only) PHP Version: 5CVS-2005-04-21 (dev) New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Good catch. Previous Comments: ------------------------------------------------------------------------ [2005-04-22 03:56:15] JClawson at tamu dot edu No, I don't think its "stupid." GCC 4 is the latest stable release... its not beta or dev. If you write correct C code you won't have this problem. Maybe the compiler is being paticular about certain things now, but its not lying. The problems it reports are legit. ------------------------------------------------------------------------ [2005-04-22 00:11:16] [EMAIL PROTECTED] Works fine with GCC 3. (Don't you think it's pretty stupid to use a compiler that hasn't been really tested enough..?) ------------------------------------------------------------------------ [2005-04-21 23:44:41] JClawson at tamu dot edu gcc (GCC) 4.0.0 20050412 (Red Hat 4.0.0-0.42) ------------------------------------------------------------------------ [2005-04-21 23:42:37] JClawson at tamu dot edu Description: ------------ /home/upgrade-tmp/php5-200504212030/ext/pdo/pdo_stmt.c: In function 'do_fetch': /home/upgrade-tmp/php5-200504212030/ext/pdo/pdo_stmt.c:876: warning: pointer targets in passing ar gument 3 of 'ce->unserialize' differ in signedness /home/upgrade-tmp/php5-200504212030/ext/pdo/pdo_stmt.c: At top level: /home/upgrade-tmp/php5-200504212030/ext/pdo/pdo_stmt.c:1749: error: static declaration of 'pdo_dbs tmt_object_handlers' follows non-static declaration /home/upgrade-tmp/php5-200504212030/ext/pdo/php_pdo_int.h:41: error: previous declaration of 'pdo_ dbstmt_object_handlers' was here /home/upgrade-tmp/php5-200504212030/ext/pdo/pdo_stmt.c:2115: error: static declaration of 'pdo_row _object_handlers' follows non-static declaration /home/upgrade-tmp/php5-200504212030/ext/pdo/php_pdo_int.h:49: error: previous declaration of 'pdo_ row_object_handlers' was here make: *** [ext/pdo/pdo_stmt.lo] Error 1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32795&edit=1
