#35528 [Opn->Csd]: Compilation error with MS compiler in snprintf.h
| From: | sniper@php.net | Date: | Sat, 03 Dec 2005 01:23:38 +0000 |
| Subject: | #35528 [Opn->Csd]: Compilation error with MS compiler in snprintf.h | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-89667@lists.php.net to get a copy of this message | ||
ID: 35528
Updated by: sniper@php.net
Reported By: pechansky at hypervisual dot com
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: Win32
PHP Version: 5.1.1
New Comment:
This bug has been fixed in CVS.
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/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2005-12-03 02:06:23] pechansky at hypervisual dot com
Description:
------------
In main\snprintf.h, line 114 must change from
#if PHP_WIN32
to
#if defined PHP_WIN32
otherwise the compiler will stop with an error like this:
c:\php-5.1.1\main\snprintf.h(114) : fatal error C1017: invalid integer
constant expression
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35528&edit=1