From ee7815bad917cf880c147186a01679fb7ce46a8e Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 31 Jul 2026 20:11:01 +0200 Subject: making stricter cmake list and then fixing bug it found --- CMakeLists.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 78560ef..b8a0602 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,6 +20,21 @@ else() -Wextra -Wpedantic -Werror + + -Wshadow + -Wnon-virtual-dtor + -Wold-style-cast + -Wcast-align + -Wunused + -Woverloaded-virtual + -Wconversion + -Wsign-conversion + -Wnull-dereference + -Wdouble-promotion + -Wformat=2 + + -Wimplicit-fallthrough + -Wmisleading-indentation ) endif() -- cgit v1.2.3