From 4766b404d5fa96fbb23a121cbe01336d1eb7dd29 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 13 Jan 2024 07:48:51 +0100 Subject: fix msvc --- test/map.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test') diff --git a/test/map.cpp b/test/map.cpp index 69c9942c..97007b73 100644 --- a/test/map.cpp +++ b/test/map.cpp @@ -2,6 +2,10 @@ #pragma GCC diagnostic ignored "-Wdeprecated-declarations" #endif +#ifdef _MSC_VER +#pragma warning(disable : 4996) // zero-length array +#endif + #include "compat/map.hpp" #include "compat/assert.hpp" -- cgit v1.2.3