diff options
author | Vas Crabb <vas@vastheman.com> | 2020-11-16 23:53:19 +1100 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2020-11-16 23:53:19 +1100 |
commit | b987b6eb31f718fbec6e18789d0205c61514e96b (patch) | |
tree | 0a4d587424b1c61d71857a93c03e773fae6874a0 | |
parent | b4becee5911365827e70ae79dbf41ed6ef11cdf4 (diff) |
luaengine.cpp: Moved clang warning suppression to the right file, disabled MSVC C4503 suppression for now, will see which files need it for sol3
-rw-r--r-- | src/frontend/mame/luaengine.cpp | 7 | ||||
-rw-r--r-- | src/frontend/mame/luaengine_mem.cpp | 5 |
2 files changed, 5 insertions, 7 deletions
diff --git a/src/frontend/mame/luaengine.cpp b/src/frontend/mame/luaengine.cpp index feee802c2e1..880ade2ab23 100644 --- a/src/frontend/mame/luaengine.cpp +++ b/src/frontend/mame/luaengine.cpp @@ -32,13 +32,6 @@ #include <thread> -#ifdef __clang__ -#pragma clang diagnostic ignored "-Wshift-count-overflow" -#endif -#if defined(_MSC_VER) -#pragma warning(disable:4503) -#endif - //************************************************************************** // LUA ENGINE //************************************************************************** diff --git a/src/frontend/mame/luaengine_mem.cpp b/src/frontend/mame/luaengine_mem.cpp index d34043a1a55..8688b0a9621 100644 --- a/src/frontend/mame/luaengine_mem.cpp +++ b/src/frontend/mame/luaengine_mem.cpp @@ -12,6 +12,11 @@ #include "luaengine.ipp" +#ifdef __clang__ +#pragma clang diagnostic ignored "-Wshift-count-overflow" +#endif + + namespace { //------------------------------------------------- |