mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-05 15:56:49 +00:00
Enable -Winvalid-offsetof
This commit is contained in:
parent
d3a66af7d6
commit
ed345e5b65
@ -68,7 +68,7 @@ namespace asmjit
|
||||
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())
|
||||
{
|
||||
|
@ -35,7 +35,6 @@ else()
|
||||
#TODO Clean the code so these are removed
|
||||
add_compile_options(-Wno-unused-variable)
|
||||
add_compile_options(-Wno-unknown-pragmas)
|
||||
add_compile_options(-Wno-invalid-offsetof)
|
||||
add_compile_options(-Wno-unused-function)
|
||||
add_compile_options(-Wno-attributes)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user