#25240 [Opn->Csd]: spaces before pre-processor directives (#s) in header files.
| From: | sniper@php.net | Date: | Mon, 25 Aug 2003 23:25:32 +0000 |
| Subject: | #25240 [Opn->Csd]: spaces before pre-processor directives (#s) in header files. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-46607@lists.php.net to get a copy of this message | ||
ID: 25240
Updated by: sniper@php.net
Reported By: eseidel at apple dot com
-Status: Open
+Status: Closed
-Bug Type: *Compile Issues
+Bug Type: Compile Failure
Operating System: All
-PHP Version: 4.3.2
+PHP Version: 4.3.3
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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