Skip to content

Commit

Permalink
Update CFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
noncombatant committed Dec 25, 2024
1 parent 045f1fd commit 01e7865
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
CC = clang
CFLAGS = -Weverything -Werror -O3 -std=c2x -Wno-padded -Wno-poison-system-directories -Wno-declaration-after-statement
CFLAGS = -Weverything -Werror -std=c2x \
-O3 \
-Wno-pre-c2x-compat \
-Wno-padded \
-Wno-poison-system-directories \
-Wno-declaration-after-statement
LDFLAGS = -lncurses

play: robotfindskitten
Expand Down
2 changes: 1 addition & 1 deletion robotfindskitten.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ static bool ItemsCoincide(const Item* a, const Item* b) {
return a->x == b->x && a->y == b->y;
}

typedef enum {
typedef enum TouchTestResult {
TouchTestResultNone,
TouchTestResultRobot,
TouchTestResultKitten,
Expand Down

0 comments on commit 01e7865

Please sign in to comment.