Strip ANSI control codes when writing to the warnings file (#11624)

Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
This commit is contained in:
Bénédikt Tran
2023-09-21 11:01:07 +02:00
committed by GitHub
parent b935915c57
commit 5fe0bd41eb
5 changed files with 51 additions and 3 deletions

View File

@@ -195,6 +195,10 @@ Options
Write warnings (and errors) to the given file, in addition to standard error.
.. versionchanged:: 7.3
ANSI control sequences are stripped when writing to *file*.
.. option:: -W
Turn warnings into errors. This means that the build stops at the first