diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-01-02 10:02:44 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-01-16 07:48:19 +0100 |
commit | 3cf0d03a1955489dea2c66435c78912d66d4e435 (patch) | |
tree | 1c1057340370a60a554f74899d2e3c9145fba938 /tracker-wii/wiiyourself | |
parent | bc3c13ecc3692aca160ccfe4043c910dc1bd7e85 (diff) |
wiiyourself: pass a more restrictive warning set
Diffstat (limited to 'tracker-wii/wiiyourself')
-rw-r--r-- | tracker-wii/wiiyourself/warns-begin.hpp | 4 | ||||
-rw-r--r-- | tracker-wii/wiiyourself/wiimote.cpp | 8 |
2 files changed, 4 insertions, 8 deletions
diff --git a/tracker-wii/wiiyourself/warns-begin.hpp b/tracker-wii/wiiyourself/warns-begin.hpp index dab250f7..0d0365a9 100644 --- a/tracker-wii/wiiyourself/warns-begin.hpp +++ b/tracker-wii/wiiyourself/warns-begin.hpp @@ -17,4 +17,8 @@ # pragma clang diagnostic ignored "-Wextra-semi" # pragma clang diagnostic ignored "-Wshadow-field" # pragma clang diagnostic ignored "-Wreserved-id-macro" +# pragma clang diagnostic ignored "-Wconversion" +# pragma clang diagnostic ignored "-Wfloat-equal" +# pragma clang diagnostic ignored "-Wunused-macros" +# pragma clang diagnostic ignored "-Wcast-qual" #endif diff --git a/tracker-wii/wiiyourself/wiimote.cpp b/tracker-wii/wiiyourself/wiimote.cpp index 90788495..503a0783 100644 --- a/tracker-wii/wiiyourself/wiimote.cpp +++ b/tracker-wii/wiiyourself/wiimote.cpp @@ -2369,11 +2369,7 @@ bool wiimote::Load16bitMonoSampleWAV(const TCHAR* filepath, wiimote_sample &out) TRACE(_T("Loading '%s'"), filepath); FILE *file; -#if (_MSC_VER >= 1400) // VC 2005+ _tfopen_s(&file, filepath, _T("rb")); -#else - file = _tfopen(filepath, _T("rb")); -#endif _ASSERT(file); if (!file) { WARN(_T("Couldn't open '%s"), filepath); @@ -2562,11 +2558,7 @@ bool wiimote::Load16BitMonoSampleRAW(const TCHAR* filepath, // load them FILE *file; bool res; -#if (_MSC_VER >= 1400) // VC 2005+ _tfopen_s(&file, filepath, _T("rb")); -#else - file = _tfopen(filepath, _T("rb")); -#endif _ASSERT(file); if (!file) { TRACE(_T("Couldn't open '%s"), filepath); |