Re: LuaSQLite3 compile error
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: LuaSQLite3 compile error
- From: Wolfram Ladurner <wl@...>
- Date: 2013年6月18日 13:36:55 +0200
Am 18.06.2013 13:22, schrieb Carl Yogehnburg:
Hello all,
I'm having some troubles compiling LuaSQLITE3(0.9.1) with VS2012(Sqlite
3.7.17 and tried both lua 5.1.5 and lua 5.2.2). I'm getting the following
errors from the compiler and honestly I can't figure out what's wrong.
(...)
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'
(...)
Hello Carl,
in C, variable declarations should be at the beginning of a block.
Regards,
Wolfram