Removed cflag and removed useless macro parameters.

This commit is contained in:
Ulysse Cura 2026-08-15 20:41:50 +02:00
parent 946cc2e495
commit 405ed84cae
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ CORE_CFLAGS = --std=c17 --pedantic -O3 -DASSET_FILE_NAME=\"$(notdir $(ASSET_OUTP
else
CORE_CFLAGS = --std=c17 --pedantic -O1 -g -DDEBUG=2 -DASSET_FILE_NAME=\"$(notdir $(ASSET_OUTPUT))\" -D_GNU_SOURCE=1 $(shell pkg-config --cflags sdl3) \
-Wall -Wno-missing-braces -Wextra -Wno-missing-field-initializers \
-Wformat=2 -Wswitch-default -Wswitch-enum -Wcast-align \
-Wformat=2 -Wswitch-default -Wswitch -Wcast-align \
-Wpointer-arith -Wbad-function-cast -Wstrict-overflow=5 \
-Wstrict-prototypes -Winline -Wundef -Wnested-externs \
-Wcast-qual -Wshadow -Wunreachable-code -Wlogical-op \

View File

@ -6,7 +6,7 @@
#include "linked_list.h"
typedef enum component_type_t {
#define COMPONENT(NAME, PREFIX, DRAW) NAME,
#define COMPONENT(NAME, ...) NAME,
#include "components.def"
} component_type_t;