summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-11-14 12:16:46 -0500
committerBrad King <brad.king@kitware.com>2022-11-14 12:16:46 -0500
commit3e0ccd6469dac69aad8286ea3118437a4cd788d6 (patch)
tree5e0b3299de94f9132da4eb1fb1d4b87dfe97707b
parent0325f047625b1cfe035668be6dc8d96a4d8775e7 (diff)
parenta394c9416de7c2e56efb762a30ee89da769f5ca7 (diff)
downloadcmake-3e0ccd6469dac69aad8286ea3118437a4cd788d6.tar.gz
Merge branch 'compile-msvc-14.34-c++20' into release-3.24
Merge-request: !7910
-rw-r--r--Source/cmGlobalVisualStudioGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudioGenerator.cxx b/Source/cmGlobalVisualStudioGenerator.cxx
index c6af20ad64..819d6be719 100644
--- a/Source/cmGlobalVisualStudioGenerator.cxx
+++ b/Source/cmGlobalVisualStudioGenerator.cxx
@@ -630,7 +630,8 @@ bool IsVisualStudioMacrosFileRegistered(const std::string& macrosFile,
RegCloseKey(hsubkey);
} else {
- std::cout << "error opening subkey: " << subkeyname << std::endl;
+ std::cout << "error opening subkey: "
+ << cmsys::Encoding::ToNarrow(subkeyname) << std::endl;
std::cout << std::endl;
}