diff options
| -rw-r--r-- | src/core/hle/ipc_helpers.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/ipc_helpers.h b/src/core/hle/ipc_helpers.h index aa27be767..18fde8bd6 100644 --- a/src/core/hle/ipc_helpers.h +++ b/src/core/hle/ipc_helpers.h | |||
| @@ -406,7 +406,7 @@ inline s32 RequestParser::Pop() { | |||
| 406 | } | 406 | } |
| 407 | 407 | ||
| 408 | // Ignore the -Wclass-memaccess warning on memcpy for non-trivially default constructible objects. | 408 | // Ignore the -Wclass-memaccess warning on memcpy for non-trivially default constructible objects. |
| 409 | #if defined(__GNUC__) | 409 | #if defined(__GNUC__) && !defined(__clang__) && !defined(__INTEL_COMPILER) |
| 410 | #pragma GCC diagnostic push | 410 | #pragma GCC diagnostic push |
| 411 | #pragma GCC diagnostic ignored "-Wclass-memaccess" | 411 | #pragma GCC diagnostic ignored "-Wclass-memaccess" |
| 412 | #endif | 412 | #endif |
| @@ -417,7 +417,7 @@ void RequestParser::PopRaw(T& value) { | |||
| 417 | std::memcpy(&value, cmdbuf + index, sizeof(T)); | 417 | std::memcpy(&value, cmdbuf + index, sizeof(T)); |
| 418 | index += (sizeof(T) + 3) / 4; // round up to word length | 418 | index += (sizeof(T) + 3) / 4; // round up to word length |
| 419 | } | 419 | } |
| 420 | #if defined(__GNUC__) | 420 | #if defined(__GNUC__) && !defined(__clang__) && !defined(__INTEL_COMPILER) |
| 421 | #pragma GCC diagnostic pop | 421 | #pragma GCC diagnostic pop |
| 422 | #endif | 422 | #endif |
| 423 | 423 | ||