#50497 [Opn->Tbd]: php 5.3.2 requires ANSI C99 compliant compiler

From: Date: Wed, 16 Dec 2009 21:10:04 +0000
Subject: #50497 [Opn->Tbd]: php 5.3.2 requires ANSI C99 compliant compiler
References: 1  Groups: php.bugs php.doc.bugs 
Request: Send a blank email to php-bugs+get-145822@lists.php.net to get a copy of this message
ID: 50497 Updated by: pajoye@php.net Reported By: srinatar@php.net -Status: Open +Status: To be documented Bug Type: *Compile Issues Operating System: linux, solaris PHP Version: 5.3SVN-2009-12-16 (SVN) New Comment: Why this bug report? no need to duplucate > bogus. Previous Comments: ------------------------------------------------------------------------ [2009-12-16 20:43:36] srinatar@php.net Description: ------------ php 5.3.x requires ANSIC 99 compliant complier options. php configure options can check for this and enable this option accordingly Reproduce code: --------------- if we try compile php 5.3.x on gcc 2.96 or other compilers which do not enable ansi c 99 standard and its extensions by default, php build will fail. this is because php now includes such extensions internally. for example, within configure.in , we could add the following macro AC_PROG_CC_C99 to ensure that the compiler can support ansi c 99 standard. (need to check if this macro is available in autoconf 2.13 - the officially supported macro for php 5.3) Expected result: ---------------- build passes successfully or fails at the configure state Actual result: -------------- configure passes successfully and fails while compiling some programs causing confusion to the customers ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=50497&edit=1

« previous php.bugs (#145822) next »