From 06a69b45d9950363139d14dc8de001b5cdcee021 Mon Sep 17 00:00:00 2001 From: Phil Miller Date: Tue, 13 Sep 2022 11:49:46 -0700 Subject: [PATCH] #1955: Suppress spurious warning about method declared but not used --- tests/unit/lb/test_lb_data_comm.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/unit/lb/test_lb_data_comm.cc b/tests/unit/lb/test_lb_data_comm.cc index 17bc197882..474d04bd96 100644 --- a/tests/unit/lb/test_lb_data_comm.cc +++ b/tests/unit/lb/test_lb_data_comm.cc @@ -127,10 +127,17 @@ struct ReduceMsg : SerializeRequired< ) { } +#if defined(__INTEL_COMPILER) +#pragma warning(push) +#pragma warning(disable : 177) +#endif template void serialize(SerializerT& s) { MessageParentType::serialize(s); } +#if defined(__INTEL_COMPILER) +#pragma warning(pop) +#endif }; struct ColProxyMsg : vt::Message { using ProxyType = vt::CollectionProxy;