add -fpermissive to compile under newer gcc (14.2)

This commit is contained in:
anon 2024-12-19 16:56:15 +01:00
parent e8c0682b79
commit 57c1515f43

View File

@ -3,7 +3,7 @@ WARNINGS := -Wall -Wextra -Wpedantic
# Remove some that would show up too many times to be enjoyable
WARNINGS += -Wno-duplicate-decl-specifier -Wno-trigraphs
CFLAGS := ${WARNINGS} -trigraphs -ggdb
CFLAGS := ${WARNINGS} -fpermissive -trigraphs -ggdb
main: h.h.gch
gcc ${CFLAGS} c.c