2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01: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:
comex 2020-11-23 17:24:37 -05:00
parent 322349e8cc
commit 32f3b6b865

View file

@ -66,6 +66,7 @@ else()
-Wextra -Wextra
-Wmissing-declarations -Wmissing-declarations
-Wno-attributes -Wno-attributes
-Wno-invalid-offsetof
-Wno-unused-parameter -Wno-unused-parameter
) )