LuaSQLite3

View Ticket
Login

View Ticket

Ticket Hash: 77e34ea2fdb32ca23136342180f0e2ae5f634e28
Title: Won't compile with VS2012 - sqlite 3.7.17 and lua 5.2.2
Status: Fixed Type: Build_Problem
Severity: Critical Priority: Immediate
Subsystem: Resolution: Fixed
Last Modified: 2013-10-18 21:59:42
Version Found In: Version 0.9.1
User Comments:
anonymous added on 2013-06-16 22:24:19:
1>------ Build started: Project: lua_sqlite, Configuration: Debug Win32 ------

1>  lsqlite3.c

1>c:\apps\sqlite-lua\lsqlite3.c(1272): error C2275: 'lua_Number' : illegal use of this type as an expression
1>          c:\apps\lua-5.2.2\src\lua.h(103) : see declaration of 'lua_Number'
1>c:\apps\sqlite-lua\lsqlite3.c(1272): error C2146: syntax error : missing ';' before identifier 'n'
1>c:\apps\sqlite-lua\lsqlite3.c(1272): error C2065: 'n' : undeclared identifier
1>c:\apps\sqlite-lua\lsqlite3.c(1272): warning C4244: '=' : conversion from 'lua_Number' to 'int', possible loss of data
1>c:\apps\sqlite-lua\lsqlite3.c(1273): error C2065: 'n' : undeclared identifier
1>c:\apps\sqlite-lua\lsqlite3.c(1274): error C2065: 'n' : undeclared identifier
1>c:\apps\sqlite-lua\lsqlite3.c(1617): warning C4244: '=' : conversion from 'lua_Number' to 'int', possible loss of data
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

e added on 2013-10-18 21:59:42:
See [a4478aa43c]