From 1b1e5a4707d681e4b38df56e83db1be9c07723b8 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 9 Jul 2025 10:22:00 -0400 Subject: build: Use C23 if possible For broader compiler support, we try both -std=c23 and -std=c2x. If neither is supported, we fall back to -std=c17, but we will start requiring some C23 features as extensions in this mode. --- src/diag.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/diag.h') diff --git a/src/diag.h b/src/diag.h index 0a4d3b9..9f3e8e1 100644 --- a/src/diag.h +++ b/src/diag.h @@ -55,9 +55,9 @@ void bfs_diagf(const char *format, ...); /** * Print a message to standard error and abort. */ +_noreturn _cold _printf(1, 2) -_noreturn void bfs_abortf(const char *format, ...); /** -- cgit v1.2.3