diff options
| author | 2025-04-21 05:28:13 +1000 | |
|---|---|---|
| committer | 2025-04-21 05:28:13 +1000 | |
| commit | c10ecb0941604be3cb8e5a361ad1ddd7bbd73380 (patch) | |
| tree | 4beb083e9d8b11e446e0fc64ec4b321c027cc932 /scripts | |
| parent | dc62387260ae7c8116cc233e2a66ea4de2e2cb83 (diff) | |
Fixed the last GCC class memory access warnings and cleaned up some stuff.
* shared/exidysound.cpp: Use real 8253 PIT device rather than a local
implementation, fixed class memory access error, cleaned up code to
use virtual member functions idiomatically.
* cpu/alto2: Fixed class memory access error (was nuking unique
pointers).
* interton/vc4000_v.cpp: Fixed class memory access error, got rid of
indirection on bitmap, cleaned up a little.
* Enabled error for GCC class memory access warning to avoid rot.
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/genie.lua | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index c18d2c3b7cb..819b753e794 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -1057,9 +1057,6 @@ end "-Wno-error=stringop-truncation", -- ImGui again "-Wno-stringop-overflow", -- generates false positives when assigning an int rvalue to a u8 variable without an explicit cast } - buildoptions_cpp { - "-Wno-error=class-memaccess", -- many instances in ImGui and BGFX - } if version >= 110000 then buildoptions { "-Wno-nonnull", -- luaengine.cpp lambdas do not need "this" captured but GCC 11.1 erroneously insists |
