Bug #60490 [Fbk->NoF]: PHP 5.3.x will not compile gcc3.3.4

From: Date: Fri, 25 Oct 2013 04:05:02 +0000
Subject: Bug #60490 [Fbk->NoF]: PHP 5.3.x will not compile gcc3.3.4
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-182462@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=60490&edit=1 ID: 60490 Updated by: php-bugs@lists.php.net Reported by: jeepee at gids dot nl Summary: PHP 5.3.x will not compile gcc3.3.4 -Status: Feedback +Status: No Feedback Type: Bug Package: *Compile Issues Operating System: Linux (Slackware 10) PHP Version: 5.3.8 Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2013-10-17 23:16:40] bjori@php.net This is a very old bug report... Is this still a problem in currently maintained versions? ------------------------------------------------------------------------ [2012-01-27 14:22:25] jeepee at gids dot nl Unfortunately this is not in my configuration : libdjbdns It looks like the CASE switch is not compatible with gcc 3.3.4 anymore in 5.2.x it was.. ------------------------------------------------------------------------ [2012-01-26 14:12:32] andrew dot nimmo at gmail dot com I can duplicate this on Linux, Debian 5 (lenny). There appears to be a conflict with reassignment of #define's for, for example, DNS_T_A when libdjbdns is installed and /usr/include/dns.c contains non-integer defines. On Debian 5, removing the package libdjbdns-dev resolves the issue. ------------------------------------------------------------------------ [2011-12-10 00:40:14] jeepee at gids dot nl 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 this bug report at https://bugs.php.net/bug.php?id=60490&edit=1

« previous php.bugs (#182462) next »