Removed cflag and removed useless macro parameters.
This commit is contained in:
parent
946cc2e495
commit
405ed84cae
|
|
@ -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 \
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue