diff options
author | pixel <pixel> | 2006-02-02 14:09:48 +0000 |
---|---|---|
committer | pixel <pixel> | 2006-02-02 14:09:48 +0000 |
commit | 08b9df0614f05c24aaaa08aac339a2eb13a9ee85 (patch) | |
tree | fd503593c230bc6dd3130eeb8f200821bcb9e1eb /include | |
parent | e236671cbac9ec8d84f9833bf462d58e7e176658 (diff) |
Removing a lot of warnings, as well as a bunch of terrible bugs!
Diffstat (limited to 'include')
-rw-r--r-- | include/generic.h | 8 |
1 files changed, 7 insertions, 1 deletions
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 <sys/types.h> #include <sys/stat.h> #include <string.h> |