Ignore useless warnings.

This commit is contained in:
Bartosz Taudul 2019-06-22 13:40:00 +02:00
parent a3ce08a9f9
commit eb4c7ca9ea
5 changed files with 20 additions and 0 deletions

View File

@ -1,6 +1,10 @@
#ifndef __TRACYFILEWRITE_HPP__ #ifndef __TRACYFILEWRITE_HPP__
#define __TRACYFILEWRITE_HPP__ #define __TRACYFILEWRITE_HPP__
#ifdef _MSC_VER
# pragma warning( disable: 4267 ) // conversion from don't care to whatever, possible loss of data
#endif
#include <algorithm> #include <algorithm>
#include <assert.h> #include <assert.h>
#include <stdio.h> #include <stdio.h>

View File

@ -1,6 +1,10 @@
#ifndef __TRACYIMGUI_HPP__ #ifndef __TRACYIMGUI_HPP__
#define __TRACYIMGUI_HPP__ #define __TRACYIMGUI_HPP__
#ifdef _MSC_VER
# pragma warning( disable: 4244 ) // conversion from don't care to whatever, possible loss of data
#endif
#include "../imgui/imgui.h" #include "../imgui/imgui.h"
#include "../imgui/imgui_internal.h" #include "../imgui/imgui_internal.h"

View File

@ -1,3 +1,7 @@
#ifdef _MSC_VER
# pragma warning( disable: 4244 ) // conversion from don't care to whatever, possible loss of data
#endif
#include <assert.h> #include <assert.h>
#include <inttypes.h> #include <inttypes.h>
#include <math.h> #include <math.h>

View File

@ -1,3 +1,7 @@
#ifdef _MSC_VER
# pragma warning( disable: 4267 ) // conversion from don't care to whatever, possible loss of data
#endif
#ifdef __MINGW32__ #ifdef __MINGW32__
# define __STDC_FORMAT_MACROS # define __STDC_FORMAT_MACROS
#endif #endif

View File

@ -1,3 +1,7 @@
#ifdef _MSC_VER
# pragma warning( disable: 4244 4267 ) // conversion from don't care to whatever, possible loss of data
#endif
#ifdef _WIN32 #ifdef _WIN32
# include <winsock2.h> # include <winsock2.h>
#endif #endif