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
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to