From acc27139f66a9792a8a2e710ca5d14b88e6eb726 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 5 Sep 2024 15:07:07 -0400 Subject: build/flags: Use auto-detection for all warning flags --- build/flags/Wstrict-prototypes.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 build/flags/Wstrict-prototypes.c (limited to 'build/flags/Wstrict-prototypes.c') diff --git a/build/flags/Wstrict-prototypes.c b/build/flags/Wstrict-prototypes.c new file mode 100644 index 0000000..9614bee --- /dev/null +++ b/build/flags/Wstrict-prototypes.c @@ -0,0 +1,9 @@ +// Copyright © Tavian Barnes +// SPDX-License-Identifier: 0BSD + +/// _CFLAGS += -Wstrict-prototypes +/// -Werror + +int main(void) { + return 0; +} -- cgit v1.2.3