chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] The bazillion unreferenced local variables


From: felix winkelmann
Subject: Re: [Chicken-users] The bazillion unreferenced local variables
Date: Tue, 7 Feb 2006 08:19:56 +0100

Thanks, that's what I'll use.


cheers,
felix


On 2/7/06, Brandon J. Van Every <address@hidden> wrote:
> felix winkelmann wrote:
> > I'm sure there is some #pragma for switching off particular warnings
> > (we pass "-fno-undefined" to gcc already) for vc++. If you could find
> > out what pragma we need, I'll add it to chicken.h
> >
>
> Going by this documentation
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang/html/_predir_warning.asp
> the following should work:
>
> #pragma warning( push )
> // Tell us about unreferenced local variables only once.
> #pragma warning( once : 4101)
>
> // Surrounded code goes here
>
> #pragma warning( pop )
>
>
> Cheers,
> Brandon Van Every
>
>
> _______________________________________________
> Chicken-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/chicken-users
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]