[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (work1) now available
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 11 Jan 2010 11:47:27 -0200
>
> Roberto Ierusalimschy wrote:
> >(Any compiler should provide a standard (and documented) way to silence
> >each of its warnings.)
> >
> >-- Roberto
>
> MS VCs (all of them I think use
> e.g.
> #pragma warning( disable : 4514 )
>
> #pragma warning( disable : errorlist ... )
>
> I am not sure about gcc.
>
> However one of the rules of #pragma methinks is that compilers are
> supposed to ignore it if they do not understand it.
What I meant was a way to silence each instance of them, individually.
Some way to say "here I know what I am doing". Things like extra
parentheses, explicit casts, casts to void, etc.
-- Roberto