Bug #74406 [Com]: Invalid integer constant expression error in php.h

From: Date: Mon, 10 Apr 2017 15:54:47 +0000
Subject: Bug #74406 [Com]: Invalid integer constant expression error in php.h
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-208443@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 Comment by: maggus dot staab at googlemail dot com Reported by: acuna dot personal at gmail dot com Summary: Invalid integer constant expression error in php.h Status: Open Type: Bug Package: *Compile Issues Operating System: Windows 10.1 x64 PHP Version: 7.1.3 Block user comment: N Private report: N New Comment: this was fixed today in the git repos with https://github.com/php/php-src/commit/d2923ec1e5457e173f29bdd7f778346c39c952dd (and other commits) Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#208443) next »