- disable MSVC warnings in OPNMidi.

This commit is contained in:
Christoph Oelckers 2018-03-24 21:53:37 +01:00
parent 77a2101c06
commit 73f9300c2b

View file

@ -52,7 +52,7 @@ typedef __int32 ssize_t;
#include <vector> #include <vector>
#include <list> #include <list>
#include <string> #include <string>
#include <sstream> //#include <sstream>
#include <map> #include <map>
#include <set> #include <set>
#include <cstdlib> #include <cstdlib>
@ -74,6 +74,13 @@ typedef __int32 ssize_t;
#include <deque> #include <deque>
#include <algorithm> #include <algorithm>
#ifdef _MSC_VER
#pragma warning(disable:4244)
#pragma warning(disable:4267)
#pragma warning(disable:4146)
#endif
#include "fraction.hpp" #include "fraction.hpp"
#ifdef USE_LEGACY_EMULATOR #ifdef USE_LEGACY_EMULATOR
#include "Ym2612_ChipEmu.h" #include "Ym2612_ChipEmu.h"
@ -84,6 +91,7 @@ typedef __int32 ssize_t;
#include "opnbank.h" #include "opnbank.h"
#include "opnmidi.h" #include "opnmidi.h"
#define ADL_UNUSED(x) (void)x #define ADL_UNUSED(x) (void)x
extern std::string OPN2MIDI_ErrorString; extern std::string OPN2MIDI_ErrorString;