|
I found another possible bug!i believe that line 171 should be: luaL_register(L, "luatrace.c_hook", hook_functions);
so that kook_functions is imported into luatrace.c_hook and not into its own table c_hookline 21 in luatrace.lua suggests this since it tries to require luatrace.c_hook
On Thu, Oct 6, 2011 at 1:42 AM, Elias Barrionovo <elias.tandel@gmail.com> wrote:
For the record, gcc's man page does say that if you want to abort the
compiler if it finds anything not on the std you're using (through the
--std parameter) - not only C89 or C99 -, you must use -pedantic .
So I use it quite a lot. =)
--
On 10/5/11, Geoff Leyland <geoff_leyland@fastmail.fm> wrote:
> On 6/10/2011, at 10:05 AM, Luiz Henrique de Figueiredo wrote:
>
>> We also use -Wall -Wextra when compiling Lua.
>
> -Wextra gets the c++ comment (wouldn't it be nice if -Wall did what it
> said!)
>
> On 6/10/2011, at 9:56 AM, Sean Conner wrote:
>
>> I think you might want to try "gcc -pedantic -ansi" or "gcc -pedantic
>> -std=c89".
>
> and -pedantic gets the variable declaration in the middle of the block.
>
> Thanks!
>
Sent from my mobile device
NI!