From 474e0ab809c74f290501cad1a7cf12cdb8b9b209 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 To help catch future C++ programming bugs --- 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", "-", ];