Re: Lua-5.2 build with static analyzer
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Lua-5.2 build with static analyzer
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: 2010年1月18日 17:36:47 -0200
> On 2010年1月18日, Rob Kendrick wrote:
> > Indeed; at least one of the problems is that api_check() is disabled.
> > (Value stored to 'p' is never read, in lapi.c).
> >
> > Might be worth redoing the analysis with this enabled, as it'll check
> > more of the code.
> How would that be enabled? is there a Makefile parameter or something?
Add this line to luaconf.h and rebuild:
#define LUA_USE_APICHECK