summaryrefslogtreecommitdiffstats
path: root/Source/cmVersion.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-07-20 16:56:29 (GMT)
committerBrad King <brad.king@kitware.com>2021-07-20 17:30:11 (GMT)
commitc7a8c9c811678bc7ccfbbfe5013d697ce95fc605 (patch)
treec524f300b78aa14a183f13cfb24fb1d1e1b45751 /Source/cmVersion.h
parent31ecd3718047874b5eeb939e9608fa1bd386c1a7 (diff)
downloadCMake-c7a8c9c811678bc7ccfbbfe5013d697ce95fc605.zip
CMake-c7a8c9c811678bc7ccfbbfe5013d697ce95fc605.tar.gz
CMake-c7a8c9c811678bc7ccfbbfe5013d697ce95fc605.tar.bz2
cmMessenger: Revert to non-color messages on Windows
Since commit 0a0a0f8a74 (cmMessenger: Color messages to terminal by type, 2021-05-18, v3.21.0-rc1~146^2) the message output no longer goes through our custom streambuf on Windows that converts output encoding. This can cause messages to be printed with the wrong encoding in a Windows Console. It also causes messages to have a mix of LF and CRLF newlines because `stderr` converts LF to CRLF but our custom streambuf does not. Revert to using just `cerr` for messages on Windows. Another approach will be needed to achieve color output on Windows later. Fixes: #22444
Diffstat (limited to 'Source/cmVersion.h')
0 files changed, 0 insertions, 0 deletions