-
-
Notifications
You must be signed in to change notification settings - Fork 31.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix compiling python_uwp.cpp with clang-cl on Windows #131291
Comments
Will this result in a working “uwp” build? Could you add a source comment about why this is needed, perhaps with a link to docs about |
Yes. At least a quick test I did is working: enable developer mode so that local UWP apps can be run. Starting the app then gives me
You already have to opt-in by setting it when doing a "regular" In the latter, you could opt-out via deselecting it in the
This comes directly out of the MSVC STL header: https://github.com/microsoft/STL/pull/136/files. |
I would probably tend towards disabling |
Or the PR was already there I guess, so easy enough to just merge it. |
Thanks for merging. This one wasn't a warning but an error. Sorry for not being explicit here.
|
clang-cl fails with the following error when compiling
python_uwp.cpp
:Let's fix it using
before including the respective header.
This only happens when
IncludeUwp
is set in case of building withbuild.bat
or in the Visual Studio IDE, because there always all projects are built.Linked PRs
The text was updated successfully, but these errors were encountered: