From f8165905f5e3d9b69e9031a3fc80f1ccf9052a2c Mon Sep 17 00:00:00 2001 From: Dan Smith Date: Wed, 6 Dec 2023 11:26:38 -0500 Subject: [PATCH] get rid of class '...' needs to have dll-interface to be used by clients of struct '...' --- six/modules/c++/cpp_pch.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/six/modules/c++/cpp_pch.h b/six/modules/c++/cpp_pch.h index cb76151d1..993895289 100644 --- a/six/modules/c++/cpp_pch.h +++ b/six/modules/c++/cpp_pch.h @@ -1,5 +1,11 @@ #pragma once +// Needs to be outside of `#pragma warning(push)` +#pragma warning(suppress: 4193) // #pragma warning(pop): no matching '...' +#pragma warning(pop) +#pragma warning(disable: 4251) // '...' : class '...' needs to have dll-interface to be used by clients of struct '...' +#pragma warning(push) + #pragma warning(push) #pragma warning(disable: 5039) // '...': pointer or reference to potentially throwing function passed to 'extern "C"' function under - EHc.Undefined behavior may occur if this function throws an exception. #pragma warning(disable: 5219) // implicit conversion from '...' to '...', possible loss of data