From ad90007bdcccac82366c1e883f2a939ab5994841 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Thu, 8 Sep 2016 20:12:19 -0500 Subject: [PATCH] Suppress fopen warnings --- src/ox/fs/oxfstool.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ox/fs/oxfstool.cpp b/src/ox/fs/oxfstool.cpp index d39ba4848..32d2f1a2f 100644 --- a/src/ox/fs/oxfstool.cpp +++ b/src/ox/fs/oxfstool.cpp @@ -11,6 +11,11 @@ #include #include +// suppress warnings about using fopen +#ifdef _MSC_VER +#pragma warning(disable:4996) +#endif + using namespace ox::fs; const static auto oxfstoolVersion = "1.0.0";