[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Warning with Lua 5.1.3 sources (gcc -pedantic)
- From: Asko Kauppi <askok@...>
- Date: Wed, 12 Mar 2008 21:30:53 +0200
There is a line in Lua sources, which gives warning with gcc '-
pedantic' compiler option.
Has anyone found a suitable solution to this?
lua_CFunction f = (lua_CFunction)dlsym(lib, sym);
>loadlib.c: In function ‘ll_sym’:
>loadlib.c:77: warning: ISO C forbids conversion of object pointer to
function pointer type
Did some googling, and:
Which does not really show a clear solution, does it?