mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-12 02:59:51 +00:00
Enable -Winvalid-offsetof
This commit is contained in:
parent
d3a66af7d6
commit
ed345e5b65
2 changed files with 1 additions and 2 deletions
|
@ -68,7 +68,7 @@ namespace asmjit
|
||||||
c.shl(x86::eax, I + 4);
|
c.shl(x86::eax, I + 4);
|
||||||
}
|
}
|
||||||
|
|
||||||
const auto ptr = x86::oword_ptr(spu, x86::rax, 0, offsetof(spu_thread, gpr));
|
const auto ptr = x86::oword_ptr(spu, x86::rax, 0, ::offset32(&spu_thread::gpr));
|
||||||
|
|
||||||
if (utils::has_avx())
|
if (utils::has_avx())
|
||||||
{
|
{
|
||||||
|
|
|
@ -35,7 +35,6 @@ else()
|
||||||
#TODO Clean the code so these are removed
|
#TODO Clean the code so these are removed
|
||||||
add_compile_options(-Wno-unused-variable)
|
add_compile_options(-Wno-unused-variable)
|
||||||
add_compile_options(-Wno-unknown-pragmas)
|
add_compile_options(-Wno-unknown-pragmas)
|
||||||
add_compile_options(-Wno-invalid-offsetof)
|
|
||||||
add_compile_options(-Wno-unused-function)
|
add_compile_options(-Wno-unused-function)
|
||||||
add_compile_options(-Wno-attributes)
|
add_compile_options(-Wno-attributes)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue