From 08b9df0614f05c24aaaa08aac339a2eb13a9ee85 Mon Sep 17 00:00:00 2001 From: pixel Date: Thu, 2 Feb 2006 14:09:48 +0000 Subject: Removing a lot of warnings, as well as a bunch of terrible bugs! --- include/generic.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/generic.h b/include/generic.h index 243e8a7..08af5f1 100644 --- a/include/generic.h +++ b/include/generic.h @@ -17,11 +17,17 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: generic.h,v 1.35 2005-11-13 13:43:21 pixel Exp $ */ +/* $Id: generic.h,v 1.36 2006-02-02 14:09:48 pixel Exp $ */ #ifndef __GENERIC_H__ #define __GENERIC_H__ +#ifdef _WIN32 +// 4996 = 'foobar' was declared deprecated. +// 4244, 4267 = 'foobar': conversion from 'foo' to 'bar', possible loss of data. +#pragma warning(disable:4996 4244 4267) +#endif + #include #include #include -- cgit v1.2.3