httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregg Smith <...@gknw.net>
Subject Re: svn commit: r1431215 - /httpd/httpd/branches/2.4.x/STATUS
Date Thu, 10 Jan 2013 21:33:03 GMT
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

Mime
View raw message