Skip to content

Commit

Permalink
Add gnu89 std version (#33)
Browse files Browse the repository at this point in the history
This enables compatibility with clang, which, unlike gcc, errors
(instead of warns) on depreciated C89 constructs like implicit int
unless c89/gnu89 is specifically selected.
  • Loading branch information
BolunThompson authored Nov 27, 2024
1 parent 53074bc commit 64d9a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CFLAGS = -w -O
CFLAGS = -std=gnu89 -w -O

CLEANFILES = \
lisp \
Expand Down

0 comments on commit 64d9a37

Please sign in to comment.