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:
@@ -15,6 +15,10 @@
|
||||
#define __DAE_DOM__
|
||||
|
||||
class daeMetaElement;
|
||||
#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
|
||||
|
||||
daeMetaElement* initializeDomMeta();
|
||||
|
||||
|
||||
@@ -15,6 +15,11 @@
|
||||
#define __DAE_TYPES_H__
|
||||
|
||||
#ifdef WIN32
|
||||
#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
|
||||
|
||||
#include <dae/daeWin32Platform.h>
|
||||
#elif defined( __GCC__ )
|
||||
#include <dae/daeGCCPlatform.h>
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
typedef int intptr_t;
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef DOM_DYNAMIC
|
||||
|
||||
#ifdef DOM_EXPORT
|
||||
|
||||
Reference in New Issue
Block a user