|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2012-02-24 11:43 UTC] jmc at chakra-project dot org
Description: ------------ After having compiled PHP from the 5_3_10 SVN branch as described in an earlier bug report (https://bugs.php.net/bug.php?id=61175), I've set up my project to point to the include directories from the extracted snapshot archives and I have defined the PHP_WIN32 and ZEND_WIN32 macros. After this, I launched the program compilation and it failed. The software configuration is the same as described in the other bug report. Test script: --------------- This is the source file where the compilation stops with an error: http://paste.kde.org/428270/00820021/ Expected result: ---------------- The compilation should complete flawlessly (as it does on a Linux platform with the same compilation options and the same code). Actual result: -------------- The compilation fails with errors. Compilation error log: http://paste.kde.org/428264/33008173/ PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 17:00:01 2025 UTC |
Can you try surrounding the include with extern "C" { ... } This is probably a bug nevertheless because the headers should ensure this.Yes, I've tried to change the #include directive like this: extern "C" { #include <sapi/embed/php_embed.h> } and it gave me the same results.