mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-11-28 04:20:27 +00:00
CMakeLists: disable -Winvalid-offsetof
This Clang warning complains when offsetof is used on a non-standard-layout type (i.e. any class using various C++ features), even though it works fine (and is not undefined behavior as of C++17).
This commit is contained in:
parent
322349e8cc
commit
32f3b6b865
1 changed files with 1 additions and 0 deletions
|
@ -66,6 +66,7 @@ else()
|
|||
-Wextra
|
||||
-Wmissing-declarations
|
||||
-Wno-attributes
|
||||
-Wno-invalid-offsetof
|
||||
-Wno-unused-parameter
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue