From:             srina...@php.net
Operating system: linux, solaris
PHP version:      5.3SVN-2009-12-16 (SVN)
PHP Bug Type:     *Compile Issues
Bug description:  php 5.3.2 requires ANSI C99 compliant compiler

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 bug report at http://bugs.php.net/?id=50497&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=50497&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=50497&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=50497&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=50497&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=50497&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=50497&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=50497&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=50497&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=50497&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=50497&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=50497&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=50497&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=50497&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=50497&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=50497&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=50497&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=50497&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=50497&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=50497&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=50497&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=50497&r=mysqlcfg

Reply via email to