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

@@ -32,6 +32,13 @@
#ifndef GLUI_GLUI_H
#define GLUI_GLUI_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
#endif
#if defined(GLUI_FREEGLUT)
// FreeGLUT does not yet work perfectly with GLUI

View File

@@ -54,7 +54,7 @@ GLUI_FileBrowser::GLUI_FileBrowser( GLUI_Node *parent,
/****************************** GLUI_FileBrowser::draw() **********/
void GLUI_FileBrowser::dir_list_callback(GLUI_Control *glui_object) {
GLUI_List *list = dynamic_cast<GLUI_List*>(glui_object);
GLUI_List *list = glui_object->dynamicCastGLUI_List();
if (!list)
return;
GLUI_FileBrowser* me = list->associated_object->dynamicCastGLUI_FileBrowser();

View File

@@ -4,6 +4,8 @@
#include <cstdio>
#include <cmath>
#ifndef AND
#define AND &&
#define OR ||

View File

@@ -16,6 +16,8 @@
*****************************************************************************/
#include "glui_internal_control.h"
#include <cmath>
#include <sys/timeb.h>

View File

@@ -30,7 +30,7 @@
Oct 2003, Nigel Stewart - GLUI Code Cleaning
************************************************************************/
#include "glui_internal_control.h"
#include "quaternion.h"
#include <cmath>
#include "glui_internal.h"