summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-04-08 19:40:18 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-04-08 19:40:18 +0200
commitb25edf465d08750fb5f93068cd8b8d5cd9d0dcec (patch)
tree89d24e079008477e80a23f0943bd47596e7fe983
parent064379bd0bd929f6b87c50f740e9a783b4d9e054 (diff)
c
-rw-r--r--userconfig-sthalik@Windows-Clang.cmake1
-rw-r--r--userconfig-sthalik@Windows-GNU.cmake3
2 files changed, 3 insertions, 1 deletions
diff --git a/userconfig-sthalik@Windows-Clang.cmake b/userconfig-sthalik@Windows-Clang.cmake
index 9af1c6e2..538df251 100644
--- a/userconfig-sthalik@Windows-Clang.cmake
+++ b/userconfig-sthalik@Windows-Clang.cmake
@@ -121,6 +121,7 @@ function(fm-userconfig-src)
-Wno-bitwise-op-parentheses
-Wno-weak-vtables
-Wno-c99-compat
+ -Wno-switch-default
)
add_compile_options(
-Werror
diff --git a/userconfig-sthalik@Windows-GNU.cmake b/userconfig-sthalik@Windows-GNU.cmake
index d30e8004..2bf81f49 100644
--- a/userconfig-sthalik@Windows-GNU.cmake
+++ b/userconfig-sthalik@Windows-GNU.cmake
@@ -87,7 +87,7 @@ function(fm-userconfig-src)
)
add_compile_options(
-Werror=format
- #-Werror
+ -Werror
-Wno-error=float-equal
#-Wno-error=comma
-Wno-error=unused-parameter
@@ -100,6 +100,7 @@ function(fm-userconfig-src)
-Wno-error=unused-but-set-variable
-Wno-error=subobject-linkage
-Wno-error=array-bounds
+ -Wlarger-than=65535
)
add_compile_options(
-Wdelete-incomplete -Werror=delete-incomplete