ID:               50497
 Updated by:       paj...@php.net
 Reported By:      srina...@php.net
-Status:           To be documented
+Status:           Bogus
 Bug Type:         *Compile Issues
 Operating System: linux, solaris
 PHP Version:      5.3SVN-2009-12-16 (SVN)
 New Comment:

.


Previous Comments:
------------------------------------------------------------------------

[2009-12-16 21:10:03] paj...@php.net

Why this bug report?

no need to duplucate > bogus.

------------------------------------------------------------------------

[2009-12-16 20:43:36] srina...@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

Reply via email to