We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
C:\Users\david\Documents\GitHub\pywinrt\projection\..\_tools\Microsoft.WindowsAppSDK\include\winrt/Microsoft.UI.Interop.h (42,52): error : missing field 'pfnGetWindowFromWindowId' initializer [-Werror,-Wmissing-field-initializers] [C:\Users\da vid\Documents\GitHub\pywinrt\_build\clang-cl\_winrt_microsoft_ui_interop.vcxproj]
Build a project that has #include Microsoft.UI.Interop.h> and compile it using clang-cl.
#include Microsoft.UI.Interop.h>
clang-cl
Project should compile without error.
No response
Windows App SDK 1.5.4: 1.5.240607001
Other
The problem is this line:
__declspec(selectany) InteropImpl s_impl { nullptr };
It should be:
__declspec(selectany) InteropImpl s_impl { };
because the struct has multiple fields.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Steps to reproduce the bug
Build a project that has
#include Microsoft.UI.Interop.h>
and compile it usingclang-cl
.Expected behavior
Project should compile without error.
Screenshots
No response
NuGet package version
Windows App SDK 1.5.4: 1.5.240607001
Packaging type
No response
Windows version
No response
IDE
Other
Additional context
The problem is this line:
It should be:
__declspec(selectany) InteropImpl s_impl { };
because the struct has multiple fields.
The text was updated successfully, but these errors were encountered: