1> f:\cocos2d-x\cocos2d-x\external\lua\lua\lua.h (99): See Declaration of "Lua_number"
1>F:\COCOS2D-X\COCOS2D-X\EXTERNAL\SQLITE3-EXT\LSQLITE3.C (1272): Error C2146: syntax error: Missing ";" (in front of the identifier "n")
1>F:\COCOS2D-X\COCOS2D-X\EXTERNAL\SQLITE3-EXT\LSQLITE3.C (1272): Error C2065: "n": undeclared identifier
1>F:\COCOS2D-X\COCOS2D-X\EXTERNAL\SQLITE3-EXT\LSQLITE3.C (1273): Error C2065: "n": undeclared identifier
1>F:\COCOS2D-X\COCOS2D-X\EXTERNAL\SQLITE3-EXT\LSQLITE3.C (1274): Error C2065: "n": undeclared identifier
Look at the definition of Lua_number, is a double, and nothing strange, and then looked at this file is a C, silently understand
Place Lua_number n = (lua_number) rowID at the beginning of the function to resolve
As for this does not error in Xcode, and in the VS report wrong, do not know what is the reason for
Cocos2d-x add sqlite3 times lua_number Error