From 5047379ac00b619270861c7918f26f606792a8a2 Mon Sep 17 00:00:00 2001 From: lyken Date: Fri, 12 Jul 2024 20:34:06 +0800 Subject: [PATCH] core: irrt build with -W=return-type --- nac3core/build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/nac3core/build.rs b/nac3core/build.rs index 38e3382f..1f37121f 100644 --- a/nac3core/build.rs +++ b/nac3core/build.rs @@ -31,6 +31,7 @@ fn main() { "-S", "-Wall", "-Wextra", + "-Werror=return-type", "-o", "-", ];