use -Werror=misleading-indentation
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
51368ecacc
commit
610fba0d15
|
|
@ -532,7 +532,8 @@ if (TCL_READLINE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# common to gcc/clang
|
# 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)
|
if(ENABLE_TSAN)
|
||||||
message(STATUS "Thread sanitizer: ${ENABLE_TSAN}")
|
message(STATUS "Thread sanitizer: ${ENABLE_TSAN}")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue