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 --- src/JSystem/J2DGraph/J2DTextBox.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/JSystem/J2DGraph/J2DTextBox.cpp') diff --git a/src/JSystem/J2DGraph/J2DTextBox.cpp b/src/JSystem/J2DGraph/J2DTextBox.cpp index d82fd37586..8f8a168104 100644 --- a/src/JSystem/J2DGraph/J2DTextBox.cpp +++ b/src/JSystem/J2DGraph/J2DTextBox.cpp @@ -5,6 +5,7 @@ #include "JSystem/JSupport/JSURandomInputStream.h" #include "JSystem/JUtility/JUTResFont.h" #include "JSystem/JUtility/JUTResource.h" +#include J2DTextBox::J2DTextBox() : mFont(NULL), mCharColor(), mGradientColor(), mStringPtr(NULL), mWhiteColor(), mBlackColor() { -- cgit v1.2.3