From c2924406e22d30046e559c93ccd97090d2018522 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Fri, 19 Feb 2016 19:14:39 +0100 Subject: [PATCH] Disable MSVC warning 4127 (conditional expression is constant) raised for so instances of narrow(). --- include/gsl_util.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/gsl_util.h b/include/gsl_util.h index b144108..316f2a1 100644 --- a/include/gsl_util.h +++ b/include/gsl_util.h @@ -40,6 +40,7 @@ // turn off some misguided warnings #pragma warning(push) #pragma warning(disable: 4351) // warns about newly introduced aggregate initializer behavior +#pragma warning(disable: 4127) // conditional expression is constant #endif // _MSC_VER <= 1800