[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (work1) now available
- From: Philippe Lhoste <PhiLho@...>
- Date: Mon, 11 Jan 2010 15:30:14 +0100
On 11/01/2010 14:54, David Burgess wrote:
You can do it individually.
At one stage my coding style was to wrap spurious warnings like:
#pragma warning( disable : 4514 )
<code ... />
#pragma warning( enable : 4514 )
This also highlights to the programmer that One (hopefully) knows what
they are doing. MS use this approach in their SDK code.
I cant remember it offhand but I know you can do the same in GCC
I would be cleaner to put options to disable warnings in the make files, no?
Otherwise, you will get code riddled with compiler-dependent pragmas, which looks quite
ugly for code that aims to be super-portable...
On the other hand, we loose the precision above (disable only for a region of code), but
well, we can suppose Lua's coders know what they do in general... :)
--
Philippe Lhoste
-- (near) Paris -- France
-- http://Phi.Lho.free.fr
-- -- -- -- -- -- -- -- -- -- -- -- -- --
- References:
- [ANN] Lua 5.2.0 (work1) now available, Luiz Henrique de Figueiredo
- Re: [ANN] Lua 5.2.0 (work1) now available, Mike Pall
- Re: [ANN] Lua 5.2.0 (work1) now available, Rene Rebe
- Re: [ANN] Lua 5.2.0 (work1) now available, Mike Pall
- Re: [ANN] Lua 5.2.0 (work1) now available, Rene Rebe
- Re: [ANN] Lua 5.2.0 (work1) now available, Mike Pall
- Re: [ANN] Lua 5.2.0 (work1) now available, liam mail
- Re: [ANN] Lua 5.2.0 (work1) now available, Roberto Ierusalimschy
- Re: [ANN] Lua 5.2.0 (work1) now available, David Burgess
- Re: [ANN] Lua 5.2.0 (work1) now available, Roberto Ierusalimschy
- Re: [ANN] Lua 5.2.0 (work1) now available, David Burgess