Skip to content

Commit

Permalink
Suppress known warnings on Visual C++
Browse files Browse the repository at this point in the history
  • Loading branch information
kazssym committed Dec 27, 2020
1 parent 971db52 commit 2931070
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions libvm68k/bits/vm68k/execution_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@ namespace vm68k
}
};

#if _MSC_VER
#pragma warning(push)
#pragma warning(disable: 4251)
#endif

/*
* Execution contexts.
*/
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2931070

Please sign in to comment.