mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-30 16:03:05 +00:00
core/cmake: Enforce Wclass-memaccess
Treat -Wclass-memaccess as an error.
This commit is contained in:
parent
f8650a9580
commit
5f517e3e16
|
@ -645,6 +645,7 @@ else()
|
|||
-Werror=implicit-fallthrough
|
||||
-Werror=sign-compare
|
||||
|
||||
$<$<CXX_COMPILER_ID:GNU>:-Werror=class-memaccess>
|
||||
$<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter>
|
||||
$<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-variable>
|
||||
|
||||
|
|
Loading…
Reference in a new issue