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 はまだ評価されていません。