#25240 [Csd]: spaces before pre-processor directives (#s) in header files.
| From: | eseidel at apple dot com | Date: | Mon, 25 Aug 2003 23:37:22 +0000 |
| Subject: | #25240 [Csd]: spaces before pre-processor directives (#s) in header files. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-46608@lists.php.net to get a copy of this message | ||
ID: 25240
User updated by: eseidel at apple dot com
Reported By: eseidel at apple dot com
Status: Closed
Bug Type: Compile Failure
Operating System: All
PHP Version: 4.3.3
New Comment:
Thanks
Previous Comments:
------------------------------------------------------------------------
[2003-08-25 18:25:32] sniper@php.net
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2003-08-25 16:43:57] eseidel at apple dot com
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 this bug report at http://bugs.php.net/?id=25240&edit=1