mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +00:00
Ignore useless warnings.
This commit is contained in:
parent
a3ce08a9f9
commit
eb4c7ca9ea
@ -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>
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user