From:             eseidel at apple dot com
Operating system: All
PHP version:      4.3.2
PHP Bug Type:     *Compile Issues
Bug description:  spaces before pre-processor directives (#s) in header files.

Description:
------------
Run:

egrep '^  *#' `find /usr/include/php -type f`

to see that two files:

./php/TSRM/tsrm_config_common.h: #pragma alloca
./php/Zend/zend.h: #pragma alloca

contain spaces before their pre-processor directives.  
This is not in agreement with ANSI C, and will cause 
compilers to fail if they use the 

-traditional-cpp

in gcc 3.3

This is a *very* simple fix.


-- 
Edit bug report at http://bugs.php.net/?id=25240&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25240&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25240&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=25240&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=25240&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=25240&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=25240&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=25240&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=25240&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=25240&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=25240&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=25240&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25240&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=25240&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=25240&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=25240&r=gnused

Reply via email to