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
This commit is contained in:
Luke Street
2026-02-28 13:11:00 -07:00
committed by GitHub
parent bf4d19d8db
commit 29c96f5c65
347 changed files with 402 additions and 73 deletions
+1
View File
@@ -13,6 +13,7 @@
#include "SSystem/SComponent/c_math.h"
#include "d/actor/d_a_player.h"
#include "d/d_com_inf_game.h"
#include <cstring>
#if DEBUG
void dMap_HIO_c::genMessage(JORMContext* mctx) {