disable conversion warning (implicit integer promotion!)

This commit is contained in:
goldsimon 2010-03-15 10:38:08 +00:00
parent c8baeec50a
commit 63363b1b89
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ int fflush(FILE *stream);
/** @todo fix some warnings: don't use #pragma if compiling with cygwin gcc */
#ifndef __GNUC__
#include <limits.h>
#pragma warning (disable: 4244) /* disable conversion warning (implicit integer promotion!) */
#pragma warning (disable: 4127) /* conditional expression is constant */
#pragma warning (disable: 4996) /* 'strncpy' was declared deprecated */
#pragma warning (disable: 4103) /* structure packing changed by including file */