1
0
mirror of https://github.com/deadw00d/AROS.git synced 2026-03-19 03:28:06 +00:00

Fix fd2inline build with gcc 15. Also tested with gcc 11.

This commit is contained in:
Johan Gill
2025-11-28 21:00:19 +01:00
parent 8fdb3590bb
commit 19d6fde03a
3 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,7 @@
include $(TOP)/config/make.cfg
USER_CPPFLAGS := '-DVERSION="1.39"'
USER_CFLAGS := -Wall -Wstrict-prototypes -g -O2
USER_CFLAGS := -Wall -Wstrict-prototypes -std=c11 -g -O2
all : $(FD2INLINE)

View File

@ -27,7 +27,7 @@ RANLIB = @RANLIB@
AWK = @AWK@
DEFS = @DEFS@
LIBS = @LIBS@
CFLAGS = $(DEFS) -Wall -Wstrict-prototypes \
CFLAGS = $(DEFS) -Wall -Wstrict-prototypes -std=c11 \
'-DVERSION="$(VERSION)"' @CFLAGS@
LDFLAGS = @LDFLAGS@

View File

@ -30,6 +30,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
/******************************************************************************
* The program has a few sort of class definitions, which are the result of