This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author William Pickard
Recipients Alex.Willmer, William Pickard, paul.moore, steve.dower, tim.golden, zach.ware
Date 2020-07-22.18:13:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1595441637.36.0.539445300031.issue41368@roundup.psfhosted.org>
In-reply-to
Content
Since Visual Studio 2017, Microsoft has an optional C++ Desktop Development option for compiling C/C++ code with LLVM's Clang compiler.

It's called: Clang with Microsoft CodeGen.
While the code is parsed with LLVM's Clang parser, the code is generated with a MSVC compatible code generator (hence the "with Microsoft CodeGen" name suffix)

Currently, Python 3.10 is uncompilable with Clang, but I would appreciate it if it can be supported.

I have attached a build log from MSBuild, below is the commandline I used to run the build.

Start-Process -FilePath $(Join-Path $PCBUILD -ChildPath 'build.bat' -Resolve) -WorkingDirectory $PCBuild -NoNewWindow -RedirectStandardOut $BUILD_LOG -RedirectStandardError $BUILDERROR_LOG -ArgumentList '-m', '-v', '-c', 'Debug', '-p', 'x64', '-t', 'Build', '"/p:PlatformToolset=ClangCL"'
PS L:\GIT\cpython> Start-Process -FilePath $(Join-Path $PCBUILD -ChildPath 'build.bat' -Resolve) -WorkingDirectory $PCBuild -NoNewWindow -RedirectStandardOut $BUILD_LOG -RedirectStandardError $BUILDERROR_LOG -ArgumentList '-m', '-v', '-c', 'Debug', '-p', 'x64', '-t', 'Build', '"/p:PlatformToolset=ClangCL"'
History
Date User Action Args
2020-07-22 18:13:57William Pickardsetrecipients: + William Pickard, paul.moore, tim.golden, zach.ware, steve.dower, Alex.Willmer
2020-07-22 18:13:57William Pickardsetmessageid: <1595441637.36.0.539445300031.issue41368@roundup.psfhosted.org>
2020-07-22 18:13:57William Pickardlinkissue41368 messages
2020-07-22 18:13:57William Pickardcreate