From c900a043b89786d5e594ec883d9acd92e0db6bc7 Mon Sep 17 00:00:00 2001 From: Luke Street Date: Sat, 28 Feb 2026 13:11:00 -0700 Subject: 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 ` with `#include ` * Guard FLT_EPSILON define to prevent redefinition * Add missing `#include ` for direct cstring function usage --- include/JSystem/J3DGraphLoader/J3DMaterialFactory.h | 2 +- include/JSystem/J3DGraphLoader/J3DMaterialFactory_v21.h | 2 +- include/JSystem/J3DGraphLoader/J3DModelLoader.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'include/JSystem/J3DGraphLoader') diff --git a/include/JSystem/J3DGraphLoader/J3DMaterialFactory.h b/include/JSystem/J3DGraphLoader/J3DMaterialFactory.h index bed19cd693..6c5f371b1d 100644 --- a/include/JSystem/J3DGraphLoader/J3DMaterialFactory.h +++ b/include/JSystem/J3DGraphLoader/J3DMaterialFactory.h @@ -84,7 +84,7 @@ struct J3DDisplayListInit { }; // size 8 struct J3DTexCoord2Info; -struct J3DCurrentMtxInfo; +class J3DCurrentMtxInfo; /** * @ingroup jsystem-j3d diff --git a/include/JSystem/J3DGraphLoader/J3DMaterialFactory_v21.h b/include/JSystem/J3DGraphLoader/J3DMaterialFactory_v21.h index af166e1b13..e59d158959 100644 --- a/include/JSystem/J3DGraphLoader/J3DMaterialFactory_v21.h +++ b/include/JSystem/J3DGraphLoader/J3DMaterialFactory_v21.h @@ -7,7 +7,7 @@ class J3DMaterial; struct J3DTexCoord2Info; -struct J3DCurrentMtxInfo; +class J3DCurrentMtxInfo; /** * @ingroup jsystem-j3d diff --git a/include/JSystem/J3DGraphLoader/J3DModelLoader.h b/include/JSystem/J3DGraphLoader/J3DModelLoader.h index a06260f3dc..e2569cee19 100644 --- a/include/JSystem/J3DGraphLoader/J3DModelLoader.h +++ b/include/JSystem/J3DGraphLoader/J3DModelLoader.h @@ -6,7 +6,7 @@ class J3DModelData; class J3DMaterialTable; -class J3DModelHierarchy; +struct J3DModelHierarchy; /** * @ingroup jsystem-j3d -- cgit v1.2.3