From 293107039093f2847316f74f53918a04413c8001 Mon Sep 17 00:00:00 2001 From: Kaz Nishimura Date: Sun, 27 Dec 2020 20:06:54 +0900 Subject: [PATCH] Suppress known warnings on Visual C++ --- libvm68k/bits/vm68k/execution_context.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libvm68k/bits/vm68k/execution_context.h b/libvm68k/bits/vm68k/execution_context.h index bde954e..332d7c1 100644 --- a/libvm68k/bits/vm68k/execution_context.h +++ b/libvm68k/bits/vm68k/execution_context.h @@ -123,6 +123,11 @@ namespace vm68k } }; +#if _MSC_VER +#pragma warning(push) +#pragma warning(disable: 4251) +#endif + /* * Execution contexts. */ @@ -264,6 +269,10 @@ namespace vm68k } }; +#if _MSC_VER +#pragma warning(pop) +#endif + /** * Swaps the contents of two execution contexts. * @param one an execution context