commit | 74b5fae52d24e6fcfacee33441ae9fae2efbfaf7 | [log] [tgz] |
---|---|---|
author | Cristian Adam <cristian.adam@gmail.com> | Thu Oct 19 16:55:41 2023 +0200 |
committer | Brad King <brad.king@kitware.com> | Mon Oct 23 09:41:29 2023 -0400 |
tree | 2906c15f6b4336acf4ea75b4949f5866ee7dadf3 | |
parent | dec211da56e19d07503b4a4e8002dc76359dc588 [diff] |
Clang: Use -fno-ansi-escape-codes for color diagnostics on Windows -fno-ansi-escape-codes is used only on Windows by Clang. Without the flag color diagnostics are displayed only if clang.exe is executed directly. Build tools like ninja and mingw32-make will not display colored diagnostics. Using -fno-ansi-escape-codes will make the build tools pass the colored diagnostics to the calling application e.g IDE. Fixes: #24235