Bug #74406 [Csd]: Invalid integer constant expression error in php.h
| From: | acuna dot personal at gmail dot com | Date: | Mon, 10 Apr 2017 16:21:44 +0000 |
| Subject: | Bug #74406 [Csd]: Invalid integer constant expression error in php.h | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-208447@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=74406&edit=1
ID: 74406
User updated by: acuna dot personal at gmail dot com
Reported by: acuna dot personal at gmail dot com
Summary: Invalid integer constant expression error in php.h
Status: Closed
Type: Bug
Package: *Compile Issues
Operating System: Windows 10.1 x64
PHP Version: 7.1.3
Assigned To: laruence
Block user comment: N
Private report: N
New Comment:
Ah yes, it was mine too. Thanks a lot!
Previous Comments:
------------------------------------------------------------------------
[2017-04-10 15:54:45] maggus dot staab at googlemail dot com
this was fixed today in the git repos with
https://github.com/php/php-src/commit/d2923ec1e5457e173f29bdd7f778346c39c952dd
(and other commits)
------------------------------------------------------------------------
[2017-04-10 15:37:24] acuna dot personal at gmail dot com
Description:
------------
Hello! I'm getting a error
C:\PHP\sdk\phpdev\vc14\x86\php-7.1.3-src\main/php.h(326): fatal error C1017: invalid integer
constant expression.
when compile projects at VC++ 2015
Changing
# if PHP_WIN32
to
# ifndef PHP_WIN32
at 326 line in php.h will solve the problem.
My SDK and binary tools are the latest from GitHub and from the SDK Binary Tools archive were
tested.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=74406&edit=1