From b0345430ae1bae1cea7092fde562aa137ac8b0c9 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sat, 11 Apr 2026 12:23:23 +0200 Subject: [PATCH 1/3] MSVC: Add warning for missing function declaration --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index be97e986e5d..240d0869af9 100644 --- a/meson.build +++ b/meson.build @@ -2328,6 +2328,7 @@ if cc.get_id() == 'msvc' '/wd4244', # conversion from 'type1' to 'type2', possible loss of data # Additional warnings to enable: + '/w24013', # 'function' undefined; assuming extern returning int' [like -Wimplicit-function-declaration] '/w24062', # enumerator 'identifier' in switch of enum 'enumeration' is not handled [like -Wswitch] '/w24102', # unreferenced label [like -Wunused-label] ] -- 2.53.0