From fe07b408bb2ff5e4b95c51f1a3eaf3af8580dc76 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 3 Mar 2024 17:43:14 +0100 Subject: cmake: die on -Wdouble-promotion --- userconfig-sthalik@Windows-GNU.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/userconfig-sthalik@Windows-GNU.cmake b/userconfig-sthalik@Windows-GNU.cmake index ef72b1f7..7bce1855 100644 --- a/userconfig-sthalik@Windows-GNU.cmake +++ b/userconfig-sthalik@Windows-GNU.cmake @@ -94,7 +94,8 @@ function(fm-userconfig-src) -Wno-error=unused-variable -Wno-error=unused-function -Wno-error=unused-macros - -Wno-error=double-promotion + #-Wno-error=double-promotion + -Wdouble-promotion -Werror=double-promotion -Wno-error=restrict -Wno-error=unused-but-set-variable -Wno-error=subobject-linkage -- cgit v1.2.3