On 6/23/2010 5:50 PM, NormW wrote: > Greetings, > Some observations when compiling current httpd-trunk for NetWare > following recent updates: ... > 5. modules\lua\lua_request.c build now fails following recent updates: > >> Compiling lua_request.c >> ### mwccnlm Compiler: >> # File: lua_request.c >> # ---------------------- >> # 335: req_field_apr_table_f func = rft->fun; >> # Error: ^ >> # illegal implicit conversion from 'const void *' to >> # 'struct apr_table_t * (*)(struct request_rec *)' >> ### mwccnlm Compiler: >> # 345: lua_CFunction func = rft->fun; >> # Error: ^ >> # illegal implicit conversion from 'const void *' to >> # 'int (*)(struct lua_State *)' >> ### mwccnlm Compiler: >> # 353: req_field_string_f func = rft->fun; >> # Error: ^ >> # illegal implicit conversion from 'const void *' to >> # 'char * (*)(struct request_rec *)' >> ### mwccnlm Compiler: >> # 362: req_field_int_f func = rft->fun; >> # Error: ^ >> # illegal implicit conversion from 'const void *' to >> # 'int (*)(struct request_rec *)' >> ### mwccnlm Compiler: >> # 371: req_field_int_f func = rft->fun; >> # Error: ^ >> # illegal implicit conversion from 'const void *' to >> # 'int (*)(struct request_rec *)' > > As noted, these are 'observations', and for NetWare... not really a dev > as such, so no real idea what represents bugs or solutions.
A void * fn() isn't a void * (evidenced on all sorts of wacky architectures), so this is a flaw.