From 610fba0d1560e505421b0ce3999e7d9a075f8a94 Mon Sep 17 00:00:00 2001 From: James Cherry Date: Fri, 4 Jul 2025 17:35:34 -0700 Subject: [PATCH] use -Werror=misleading-indentation Signed-off-by: James Cherry --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3043c6ab..baa4e582 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -532,7 +532,8 @@ if (TCL_READLINE) endif() # common to gcc/clang -set(CXX_FLAGS -Wall -Wextra -pedantic -Wcast-qual -Wredundant-decls -Wformat-security) +set(CXX_FLAGS -Wall -Wextra -pedantic -Wcast-qual -Wredundant-decls + -Wformat-security -Werror=misleading-indentation) if(ENABLE_TSAN) message(STATUS "Thread sanitizer: ${ENABLE_TSAN}")