[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: profiling embedded lua
- From: Elias Barrionovo <elias.tandel@...>
- Date: Wed, 5 Oct 2011 20:42:50 -0300
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!
- References:
- Re: profiling embedded lua, Oskar Forsslund
- Re: profiling embedded lua, steve donovan
- Re: profiling embedded lua, Oskar Forsslund
- Re: profiling embedded lua, steve donovan
- Re: profiling embedded lua, Oskar Forsslund
- Re: profiling embedded lua, steve donovan
- Re: profiling embedded lua, Oskar Forsslund
- RE: profiling embedded lua, Thomas Buergel
- Re: profiling embedded lua, Geoff Leyland
- Re: profiling embedded lua, Sean Conner
- Re: profiling embedded lua, Luiz Henrique de Figueiredo
- Re: profiling embedded lua, Geoff Leyland