From c4b246410d7b1388045d0a49cb6a6f216858c51c Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Sun, 25 Mar 2018 00:04:17 +0300 Subject: MSVC warning muter and remove `sstream` usage --- src/adlmidi_private.hpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/adlmidi_private.hpp') diff --git a/src/adlmidi_private.hpp b/src/adlmidi_private.hpp index 8b2bf19..8f0c657 100644 --- a/src/adlmidi_private.hpp +++ b/src/adlmidi_private.hpp @@ -75,7 +75,6 @@ typedef int32_t ssize_t; #include #include #include -#include //#ifdef __WATCOMC__ //#include //TODO: Implemnet a workaround for OpenWatcom to fix a crash while using those containers //#include @@ -105,6 +104,13 @@ typedef int32_t ssize_t; #include #include +#ifdef _MSC_VER +#pragma warning(disable:4319) +#pragma warning(disable:4267) +#pragma warning(disable:4244) +#pragma warning(disable:4146) +#endif + #include "fraction.hpp" #ifndef ADLMIDI_HW_OPL -- cgit v1.2.3