#32538 [NEW]: 4.3.11 --with-swf doesn't compile with gcc-3.4.x or newer

From: Date: Fri, 01 Apr 2005 19:01:19 +0000
Subject: #32538 [NEW]: 4.3.11 --with-swf doesn't compile with gcc-3.4.x or newer
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-76176@lists.php.net to get a copy of this message
From: adam dot greenfield at gmail dot com Operating system: Linux (Fedora Core 3) PHP version: 4.3.10 PHP Bug Type: Compile Failure Bug description: 4.3.11 --with-swf doesn't compile with gcc-3.4.x or newer Description: ------------ PHP 4.3.11 will not compile on machines using gcc-3.4.x (in this case, gcc-3.4.2) Reproduce code: --------------- kronos% ./configure --with-swf=/usr ... (normal configure output - no errors) ... kronos% make ... (normal make output) ... gcc -Iext/swf/ -I/home/adam/build/packages/dsmphp/php-4.3.11/ext/swf/ -DPHP_ATOM_INC -I/home/adam/build/packages/dsmphp/php-4.3.11/include -I/home/adam/build/packages/dsmphp/php-4.3.11/main -I/home/adam/build/packages/dsmphp/php-4.3.11 -I/home/adam/build/packages/dsmphp/php-4.3.11/ext/xml/expat -I/home/adam/build/packages/dsmphp/php-4.3.11/TSRM -I/home/adam/build/packages/dsmphp/php-4.3.11/Zend -g -O2 -c /home/adam/build/packages/dsmphp/php-4.3.11/ext/swf/swf.c -o ext/swf/swf.o && echo > ext/swf/swf.lo /home/adam/build/packages/dsmphp/php-4.3.11/ext/swf/swf.c: In function `zif_swf_openfile': /home/adam/build/packages/dsmphp/php-4.3.11/ext/swf/swf.c:256: error: label at end of compound statement make: *** [ext/swf/swf.lo] Error 1 kronos% Expected result: ---------------- PHP Compiles Actual result: -------------- Compile failed -- Edit bug report at http://bugs.php.net/?id=32538&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32538&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32538&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32538&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=32538&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=32538&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32538&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32538&r=needscript Try newer version: http://bugs.php.net/fix.php?id=32538&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32538&r=support Expected behavior: http://bugs.php.net/fix.php?id=32538&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32538&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32538&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=32538&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32538&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=32538&r=dst IIS Stability: http://bugs.php.net/fix.php?id=32538&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32538&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32538&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32538&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32538&r=mysqlcfg

« previous php.bugs (#76176) next »