Browse Source

Merge branch 'compile-msvc-14.34-c++20' into release-3.24

Merge-request: !7910
Brad King 3 years ago
parent
commit
3e0ccd6469
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Source/cmGlobalVisualStudioGenerator.cxx

+ 2 - 1
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;
       }