Hi Daniel,
On 1/10/2013 4:55 AM, Daniel Gruno wrote:
On 01/10/2013 01:52 PM, Guenter Knauf wrote:
Hi Daniel,
Am 10.01.2013 10:34, schrieb Daniel Gruno:
Can you provide me with the errors that it produces, or some tips on how
I can possibly run this compiler on my own computer? Otherwise, I really
don't know what to do here - the bindings work fine on all the machines
I've tested them on.
Unfortunately, all the lua_pushcfunctions are nightmarish on Windows from
.\lua_dbd.c(662) : error C2440: 'function' : cannot convert from 'int
(__stdcall *)(lua_State *)' to 'lua_CFunction'
to
.\lua_dbd.c(692) : error C2440: 'function' : cannot convert from 'int
(__stdcall *)(lua_State *)' to 'lua_CFunction'
Casting the int function to lua_CFunction seems to work.
Your 2.4 patch seems to be missing this part of r1430225
http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/lua/mod_lua.dsp?r1=1430225&r2=1430224&pathrev=1430225
On a side note there's this, not sure how long that's been there, it
just seems wrong not having a 'case' return something.
c:\build2\httpd-2.4.x_r1431331\modules\lua\mod_lua.c(110) : warning
C4715: 'scope_to_string' : not all control paths return a value
Cheers,
Gregg