From 56566d9abc1f6422b33957a55cfbab93c5c4037e Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Mon, 1 Nov 2021 02:38:19 +0200 Subject: [PATCH] Disable C4100 in alloc_construct_cxx11_test.cpp --- test/alloc_construct_cxx11_test.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/alloc_construct_cxx11_test.cpp b/test/alloc_construct_cxx11_test.cpp index 2075d7a..928cec8 100644 --- a/test/alloc_construct_cxx11_test.cpp +++ b/test/alloc_construct_cxx11_test.cpp @@ -10,6 +10,10 @@ Distributed under the Boost Software License, Version 1.0. #include #include +#if defined(_MSC_VER) +# pragma warning(disable: 4100) // unreferenced parameter 'ptr' +#endif + class type { public: explicit type(int x)