From cd264da3fb00a81aa80169f3d6768d2132265d34 Mon Sep 17 00:00:00 2001 From: Mitchell Waite Date: Sat, 12 Sep 2026 13:46:55 -0400 Subject: [PATCH 1/2] Update makefile for GCC16 - Implicit function definitions are errors by default in the new GCC - default C standard in GCC16 doesn't allow "typedef int bool;" --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d59385f..0061c33 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ INCLUDES := # options for code generation #--------------------------------------------------------------------------------- -CFLAGS = -g -O2 -Wall $(MACHDEP) $(INCLUDE) -DXENON -DWORDS_BIGENDIAN -U__linux__ -DNO_INLINE_FUNCS +CFLAGS = -g -O2 -Wall $(MACHDEP) $(INCLUDE) -DXENON -DWORDS_BIGENDIAN -U__linux__ -DNO_INLINE_FUNCS -Wno-error=implicit-function-declaration -std=gnu17 CXXFLAGS = $(CFLAGS) LDFLAGS = -g $(MACHDEP) -Wl,--gc-sections -Wl,-Map,$(notdir $@).map From 5ec0d6db44de51ab213ade52fc1c7127705d9acb Mon Sep 17 00:00:00 2001 From: Mitchell Waite Date: Sat, 12 Sep 2026 13:50:45 -0400 Subject: [PATCH 2/2] gnu11 was the default in GCC 9.2.0 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0061c33..d87ebd6 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ INCLUDES := # options for code generation #--------------------------------------------------------------------------------- -CFLAGS = -g -O2 -Wall $(MACHDEP) $(INCLUDE) -DXENON -DWORDS_BIGENDIAN -U__linux__ -DNO_INLINE_FUNCS -Wno-error=implicit-function-declaration -std=gnu17 +CFLAGS = -g -O2 -Wall $(MACHDEP) $(INCLUDE) -DXENON -DWORDS_BIGENDIAN -U__linux__ -DNO_INLINE_FUNCS -Wno-error=implicit-function-declaration -std=gnu11 CXXFLAGS = $(CFLAGS) LDFLAGS = -g $(MACHDEP) -Wl,--gc-sections -Wl,-Map,$(notdir $@).map