On 08.01.2012 00:15, Michael Felt wrote:
> Patches: maybe I'll have time, as it most are from one file.
> [...]
> "mod_include.c", line 721.26: 1506-068 (W) Operation between types "const
> void*" and "const char*(*)(struct {...}*,const void*,const char*)" is not
> allowed.
> "mod_headers.c", line 898.43: 1506-280 (W) Function argument assignment
> between types "const void*" and "const char*(*)(struct request_rec*,char*)"
> is not allowed.
> "ssl_engine_vars.c", line 88.26: 1506-068 (W) Operation between types
> "const void*" and "const char*(*)(struct {...}*,const void*)" is not
> allowed.
> "ssl_engine_vars.c", line 95.26: 1506-068 (W) Operation between types
> "const void*" and "struct apr_array_header_t*(*)(struct {...}*,const
> void*,const char*)" is not allowed.GCC also warns about these when using "-pedantic": > ssl_engine_vars.c: In function 'ssl_expr_lookup': > ssl_engine_vars.c:88: warning: ISO C forbids assignment between function > pointer and 'void *' > ssl_engine_vars.c:95: warning: ISO C forbids assignment between function > pointer and 'void *' I fixed the signedness warning in mod_ssl (reported earlier by Rainer, from VC10), but left the above ones alone, as they probably need the same fix as mod_include.c. Kaspar
