Examples: MSVC: increase warning level from /W3 to /W4 for OpenGL examples

This commit is contained in:
ocornut
2015-03-14 10:41:42 +00:00
parent 2b0acc128c
commit 7c9bd71512
9 changed files with 27 additions and 28 deletions

View File

@ -1,5 +1,10 @@
#include <GL/gl3w.h>
#ifdef _MSC_VER
#pragma warning (disable: 4055) // warning C4055: 'type cast' : from data pointer 'void *' to function pointer
#pragma warning (disable: 4152) // warning C4152: nonstandard extension, function/data pointer conversion in expression
#endif
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN 1
#include <windows.h>