Fixed warnings in Bullet/src core library

Thanks Martijn Reuvers from Two Tribes B.V. (www.twotribes.com) for the patch

To make this work more visible, suppress warnings in external libraries in Extras (COLLADA_DOM, libxml and glui contain many warnings)
Added PreprocessorDefinitions: _CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE to vcproj files
This commit is contained in:
erwin.coumans
2008-05-10 18:00:21 +00:00
parent 739d09a7af
commit bd97c5e569
285 changed files with 11554 additions and 11205 deletions

View File

@@ -22,6 +22,24 @@
#include "config-mac.h"
#else
#ifdef _MSC_VER
#pragma warning(disable : 4324) // disable padding warning
#pragma warning(disable:4530) // Disable the exception disable but used in MSCV Stl warning.
#pragma warning(disable:4996) //Turn off warnings about deprecated C routines
#pragma warning(disable:4786) // Disable the "debug name too long" warning
#pragma warning (disable:4244) // possible loss of data
#pragma warning (disable:4267) // possible loss of data
#pragma warning (disable:4311) // type cast' : pointer truncation
#pragma warning (disable:4312) // type cast' : pointer truncation
#pragma warning (disable:4005) // macro redefinition
#pragma warning (disable:4101) // unreferenced local variable
#include "config-win32.h"
#else
#include "config.h"