summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-24 02:51:00 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-24 02:51:37 +0100
commit7aed83758b173dd0fecf45dc18fcbbe9a522e93b (patch)
treee066efb9095aafbfc51eb849ecb91971e3e6b6a3
parentc7e43b5368ce817ccbc77e222b1fbf872f9cfbe7 (diff)
cmake: add -Werror on gcc for a particularly bad warning
-rw-r--r--userconfig-sthalik@Windows-GNU.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/userconfig-sthalik@Windows-GNU.cmake b/userconfig-sthalik@Windows-GNU.cmake
index 632950cf..f45af526 100644
--- a/userconfig-sthalik@Windows-GNU.cmake
+++ b/userconfig-sthalik@Windows-GNU.cmake
@@ -100,4 +100,7 @@ function(fm-userconfig-src)
-Wno-error=subobject-linkage
-Wno-error=array-bounds
)
+ add_compile_options(
+ -Wdelete-incomplete -Werror=delete-incomplete
+ )
endfunction()