diff options
| author | 2021-01-15 05:35:33 -0300 | |
|---|---|---|
| committer | 2021-01-15 16:31:19 -0300 | |
| commit | 5f517e3e1698cac0408eb6ad66c826e4aa8a7b25 (patch) | |
| tree | 560d3b5f1df9f07f1222a983af84b14d18cbc07f | |
| parent | core: Silence Wclass-memaccess warnings (diff) | |
| download | yuzu-5f517e3e1698cac0408eb6ad66c826e4aa8a7b25.tar.gz yuzu-5f517e3e1698cac0408eb6ad66c826e4aa8a7b25.tar.xz yuzu-5f517e3e1698cac0408eb6ad66c826e4aa8a7b25.zip | |
core/cmake: Enforce Wclass-memaccess
Treat -Wclass-memaccess as an error.
Diffstat (limited to '')
| -rw-r--r-- | src/core/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 99310dc50..2f6b22747 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt | |||
| @@ -645,6 +645,7 @@ else() | |||
| 645 | -Werror=implicit-fallthrough | 645 | -Werror=implicit-fallthrough |
| 646 | -Werror=sign-compare | 646 | -Werror=sign-compare |
| 647 | 647 | ||
| 648 | $<$<CXX_COMPILER_ID:GNU>:-Werror=class-memaccess> | ||
| 648 | $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter> | 649 | $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter> |
| 649 | $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-variable> | 650 | $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-variable> |
| 650 | 651 | ||