From 058afbcee8badecfd36f98a39dfbcd366624f4e1 Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Mon, 12 Jul 2021 21:26:46 +0300 Subject: [PATCH] build: re-enable -Wmisleading-indentation This can catch mismatches between visual indication about control flow and what the compiler actually does. Looks like boost cleaned up its indentation since it was disabled in 7f38634080a ("dist/debian: Switch to g++-7/boost-1.63 on Ubuntu 14.04/16.04"). It's unlikely to pop back since modern compilers enable it by default. Closes #9015 --- configure.py | 1 - 1 file changed, 1 deletion(-) diff --git a/configure.py b/configure.py index fbe5e3f162..ab4d25ff9a 100755 --- a/configure.py +++ b/configure.py @@ -1277,7 +1277,6 @@ warnings = [ '-Wno-return-stack-address', '-Wno-missing-braces', '-Wno-unused-lambda-capture', - '-Wno-misleading-indentation', '-Wno-overflow', '-Wno-noexcept-type', '-Wno-nonnull-compare',