commit 341f4d21eecb62aa246216fea138a2ea59f7b8e1
parent 6f22e40e3756d1f36163bd5420486e781dacec67
Author: citbl <citbl@citbl.org>
Date: Tue, 28 Oct 2025 17:53:18 +1000
change to c23 for threads
Diffstat:
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/.clangd b/.clangd
@@ -10,7 +10,7 @@ CompileFlags:
-Wstrict-prototypes,
-Wmissing-prototypes,
-Wconversion,
- "-std=c99",
+ "-std=c23",
-g,
"-I/opt/homebrew/include"
]
diff --git a/README b/README
@@ -11,7 +11,7 @@ requirements
libcurl
libmrss
sqlite3
- -std=c99
+ -std=c23
uses
termbox2.h (included)
diff --git a/makefile b/makefile
@@ -1,7 +1,7 @@
APP := readr
PKG := $(shell pkg-config --cflags --libs mrss sqlite3)
-CFLAGS := -std=c99 -g -Wall -Wextra -fsanitize=address -fsanitize=undefined
-CREL := -std=c99 -Wall -Wextra -Wpedantic -Werror -O3
+CFLAGS := -std=c23 -g -Wall -Wextra -fsanitize=address -fsanitize=undefined
+CREL := -std=c23 -Wall -Wextra -Wpedantic -Werror -O3
default:
cc **/*.c ${CFLAGS} ${PKG} -o ${APP}