mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 13:01:27 +12:00
Disable -Wold-style-cast diagnostic before including sse2neon
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
This commit is contained in:
parent
27359d3d32
commit
bad6e99258
1 changed files with 5 additions and 5 deletions
|
@ -6,6 +6,11 @@
|
||||||
#include "util/v128.hpp"
|
#include "util/v128.hpp"
|
||||||
#include "util/simd.hpp"
|
#include "util/simd.hpp"
|
||||||
|
|
||||||
|
#if !defined(_MSC_VER)
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Wold-style-cast"
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(ARCH_ARM64)
|
#if defined(ARCH_ARM64)
|
||||||
#if !defined(_MSC_VER)
|
#if !defined(_MSC_VER)
|
||||||
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
||||||
|
@ -14,11 +19,6 @@
|
||||||
#include "Emu/CPU/sse2neon.h"
|
#include "Emu/CPU/sse2neon.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(_MSC_VER)
|
|
||||||
#pragma GCC diagnostic push
|
|
||||||
#pragma GCC diagnostic ignored "-Wold-style-cast"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(_MSC_VER) || !defined(__SSE2__)
|
#if defined(_MSC_VER) || !defined(__SSE2__)
|
||||||
#define SSE4_1_FUNC
|
#define SSE4_1_FUNC
|
||||||
#define AVX2_FUNC
|
#define AVX2_FUNC
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue