Bug #59934 [Opn->Csd]: Compilation fails
| From: | felipe@php.net | Date: | Wed, 12 Oct 2011 21:28:55 +0000 |
| Subject: | Bug #59934 [Opn->Csd]: Compilation fails | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-164274@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=59934&edit=1
ID: 59934
Updated by: felipe@php.net
Reported by: arjenjb at gmail dot com
Summary: Compilation fails
-Status: Open
+Status: Closed
Type: Bug
Package: solr
Operating System: Windows
PHP Version: Irrelevant
-Assigned To:
+Assigned To: felipe
Block user comment: N
Private report: N
New Comment:
Fixed in SVN.
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2011-09-03 12:28:47] arjenjb at gmail dot com
Description:
------------
Cannot compile solr on windows using the instructions found
at: https://wiki.php.net/internals/windows/stepbystepbuild.
'nmake' gives me the following error:
..\pecl\solr\solr_functions_helpers.c(1115) : error C2059:
syntax error : '}'
NMAKE : fatal error U1077: '"C:\Program Files
(x86)\Microsoft Visual Studio 9.0\VC\Bin\cl.exe"' : return
code '0x2'
Stop.
The following patch fixes the problem:
============================================================
=======
--- solr_functions_helpers.c (revision 316077)
+++ solr_functions_helpers.c (working copy)
@@ -1112,7 +1112,7 @@
HashTable *global_function_table =
EG(function_table);
/* json_last_error() */
- zval *json_last_error_params[] = { };
+ zval *json_last_error_params[] = { NULL };
json_decode_ret_val_ptr = &json_decode_ret_val;
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=59934&edit=1