Edit report at https://bugs.php.net/bug.php?id=59934&edit=1
ID: 59934 Updated by: fel...@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