summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-03-03 17:43:14 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-03-04 06:58:14 +0100
commitfe07b408bb2ff5e4b95c51f1a3eaf3af8580dc76 (patch)
treee6811da569ff9de2fbb38be8346bfe15ca5e3630
parent542d03a49fc5fc8a3aa0bb301973f68b199274e5 (diff)
cmake: die on -Wdouble-promotion
-rw-r--r--userconfig-sthalik@Windows-GNU.cmake3
1 files changed, 2 insertions, 1 deletions
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