summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--userconfig-sthalik@Windows-Clang.cmake4
-rw-r--r--userconfig-sthalik@Windows-GNU.cmake3
2 files changed, 4 insertions, 3 deletions
diff --git a/userconfig-sthalik@Windows-Clang.cmake b/userconfig-sthalik@Windows-Clang.cmake
index 3bfd3de1..aa27d8f9 100644
--- a/userconfig-sthalik@Windows-Clang.cmake
+++ b/userconfig-sthalik@Windows-Clang.cmake
@@ -125,7 +125,6 @@ function(fm-userconfig-src)
add_compile_options(
-Werror
-Wno-error=float-equal
- #-Wno-error=comma
-Wno-error=unused-parameter
-Wno-error=unused-private-field
-Wno-error=unused-variable
@@ -141,12 +140,15 @@ function(fm-userconfig-src)
-Wno-error=unreachable-code
-Wno-error=unused-command-line-argument
-Wno-error=switch-default
+ #-Wno-error=switch
-Wno-error=global-constructors
-Wno-error=exit-time-destructors
)
add_compile_options(
#-Wglobal-constructors
+ -Wno-global-constructors
#-Wexit-time-destructors
+ -Wno-exit-time-destructors
)
if(CMAKE_BUILD_TYPE STREQUAL "DEBUG")
add_compile_options(-ftime-trace)
diff --git a/userconfig-sthalik@Windows-GNU.cmake b/userconfig-sthalik@Windows-GNU.cmake
index 039ef418..38080ffd 100644
--- a/userconfig-sthalik@Windows-GNU.cmake
+++ b/userconfig-sthalik@Windows-GNU.cmake
@@ -91,17 +91,16 @@ function(fm-userconfig-src)
-Werror=format
-Werror
-Wno-error=float-equal
- #-Wno-error=comma
-Wno-error=unused-parameter
-Wno-error=unused-variable
-Wno-error=unused-function
-Wno-error=unused-macros
- #-Wno-error=double-promotion
-Wdouble-promotion -Werror=double-promotion
-Wno-error=restrict
-Wno-error=unused-but-set-variable
-Wno-error=subobject-linkage
-Wno-error=array-bounds
+ #-Wno-error=switch
-Wlarger-than=65535 -Wno-error=larger-than=65535
)
add_compile_options(