antirez / antirez/lua-cmsgpack
Compile error with MSVC2010
未关闭
- 主要语言
- C
- 星标
- 383
- 派生
- 122
- PR 合并指标
- 30 天内没有已合并 PR
描述
Please swap lines 549/550 to
void mp_decode_to_lua_array(lua_State *L, mp_cur *c, size_t len) {
int index = 1;
assert(len <= UINT_MAX);
as VC2010 otherwise complains about a variable "index" defined in the middle of a C block.
Variables have to be declared in the first line - in a pure C program...
Regards,
Helmut
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。