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

From: Date: Mon, 10 Apr 2017 15:37:26 +0000
Subject: Bug #74406 [NEW]: Invalid integer constant expression error in php.h
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-208441@lists.php.net to get a copy of this message
From: acuna dot personal at gmail dot com Operating system: Windows 10.1 x64 PHP version: 7.1.3 Package: *Compile Issues Bug Type: Bug Bug description:Invalid integer constant expression error in php.h 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 bug report at https://bugs.php.net/bug.php?id=74406&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=74406&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=74406&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=74406&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=74406&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=74406&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=74406&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=74406&r=needscript Try newer version: https://bugs.php.net/fix.php?id=74406&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=74406&r=support Expected behavior: https://bugs.php.net/fix.php?id=74406&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=74406&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=74406&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=74406&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=74406&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=74406&r=dst IIS Stability: https://bugs.php.net/fix.php?id=74406&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=74406&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=74406&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=74406&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=74406&r=mysqlcfg

« previous php.bugs (#208441) next »