From: Operating system: Linux (Slackware 10) PHP version: 5.3.8 Package: *Compile Issues Bug Type: Bug Bug description:PHP 5.3.x will not compile gcc3.3.4
Description: ------------ Tried a few versions in the 5.3.x range but all fail on: dns.c resides in /php-5.3.8/ext/standard/ dns.c: In function `php_parserr': dns.c:453: error: case label does not reduce to an integer constant dns.c:459: error: case label does not reduce to an integer constant dns.c:464: error: case label does not reduce to an integer constant dns.c:465: warning: comparison between pointer and integer dns.c:469: error: case label does not reduce to an integer constant dns.c:470: warning: comparison between pointer and integer dns.c:474: error: case label does not reduce to an integer constant dns.c:475: warning: comparison between pointer and integer dns.c:485: error: case label does not reduce to an integer constant dns.c:497: error: case label does not reduce to an integer constant dns.c:521: error: case label does not reduce to an integer constant dns.c:546: error: case label does not reduce to an integer constant Also tried the 5.3.9rc All 5.2.x versions compiled fine On slackware 13.xx compilation goes fine. Issue appears by simply running ./configure and make (no extra options provided) -- Edit bug report at https://bugs.php.net/bug.php?id=60490&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=60490&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=60490&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=60490&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=60490&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60490&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=60490&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=60490&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=60490&r=needscript Try newer version: https://bugs.php.net/fix.php?id=60490&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=60490&r=support Expected behavior: https://bugs.php.net/fix.php?id=60490&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=60490&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=60490&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=60490&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=60490&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=60490&r=dst IIS Stability: https://bugs.php.net/fix.php?id=60490&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=60490&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=60490&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=60490&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=60490&r=mysqlcfg