From 91c3447d1c4fe08afad762eeea92c737708cd8c0 Mon Sep 17 00:00:00 2001 From: Steve Lhomme Date: Wed, 1 Jan 2025 15:47:46 +0100 Subject: [PATCH] CMake: turn missing functions into errors with MSVC in dev mode --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fee3b6b3..0478b352 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,7 +41,9 @@ if(DEV_MODE) -Werror=declaration-missing-parameter-type -Werror=switch -Werror=return-type - -W4) + -W4 + -WX4013 # undefined; assuming extern returning int + ) endif() add_subdirectory("corec")