From 3ad77117ec765191352968964dcb5ecc91c40f1b Mon Sep 17 00:00:00 2001 From: Stephen Anthony Date: Sat, 27 May 2017 14:23:47 -0230 Subject: [PATCH] Ignore annoying warning in Visual Studio that I know is actually valid code. --- src/common/bspf.hxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/bspf.hxx b/src/common/bspf.hxx index 873bdcdd4..ec3d4d40c 100644 --- a/src/common/bspf.hxx +++ b/src/common/bspf.hxx @@ -91,6 +91,7 @@ namespace BSPF static const string PATH_SEPARATOR = "/"; #elif defined(BSPF_WINDOWS) static const string PATH_SEPARATOR = "\\"; + #pragma warning (disable : 4146) // unary minus operator applied to unsigned type #pragma warning(2:4264) // no override available for virtual member function from base 'class'; function is hidden #pragma warning(2:4265) // class has virtual functions, but destructor is not virtual #pragma warning(2:4266) // no override available for virtual member function from base 'type'; function is hidden