From ff4a968320d8b577b166017a5c502ccee6dc8416 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Sun, 12 Apr 2020 20:51:57 -0700 Subject: [PATCH] disable some MSVC warnings C4800: implicit cast to bool C4275: non dll-interface base class --- configure/toolchain.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure/toolchain.c b/configure/toolchain.c index 1e5f8a9..fb7aeba 100644 --- a/configure/toolchain.c +++ b/configure/toolchain.c @@ -33,3 +33,7 @@ USR_LDFLAGS += -Wl,--compress-debug-sections=zlib #endif #endif /* __GNUC__ */ + +#ifdef _MSC_VER +USR_CPPFLAGS += /wd4800 /wd4275 +#endif