diff options
| author | Luke Street <luke@street.dev> | 2026-02-28 13:11:00 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-28 12:11:00 -0800 |
| commit | c900a043b89786d5e594ec883d9acd92e0db6bc7 (patch) | |
| tree | 72aa155ca8fcb6d1234ccec7a527fcf02745d6ac /src/d/d_menu_calibration.cpp | |
| parent | d017a3cd36dacdcbd6a62640a85b8715540d82e5 (diff) | |
Some GCC compilation fixes (#3114)
* Fix 6-byte multichar literals
* Add `struct` to `e_ga_class::ga_s`
* Fix remaining wrong forward declares (struct/class)
* Replace `#include <string>` with `#include <cstring>`
* Guard FLT_EPSILON define to prevent redefinition
* Add missing `#include <cstring>` for direct cstring function usage
Diffstat (limited to 'src/d/d_menu_calibration.cpp')
| -rw-r--r-- | src/d/d_menu_calibration.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/d/d_menu_calibration.cpp b/src/d/d_menu_calibration.cpp index 72ec058eec..69f28f4109 100644 --- a/src/d/d_menu_calibration.cpp +++ b/src/d/d_menu_calibration.cpp @@ -12,6 +12,7 @@ #include "d/d_meter_HIO.h" #include "d/d_msg_string.h" #include "m_Do/m_Do_controller_pad.h" +#include <cstring> // Need 0xC bytes of padding with no symbol between dMenu_Calibration_c::__vtable and the end of .data // This is likely caused by the vtable of an abstract base class getting put there and then stripped out. |
