Skip to content
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

projections.g.cpp excludes the C++/WinRT header if no interfaces from it are included in the projection but specialized generic types and etc. still are. #154

Open
nichamp opened this issue Feb 4, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@nichamp
Copy link
Collaborator

nichamp commented Feb 4, 2022

If you include only runtime classes from a namespace using a filter, it would in include their static interfaces and constructors in the projection of the runtimeclass but none of the instance interfaces. It appears that in this scenario because there are none of the latter, it will include the RN/WinRT <namespace>.g.h but not the corresponding winrt/<namespace>.h header. For example, this causes a build break supposing any of those runtime classes is referenced in projections.g.cpp for specializing a generic interface (e.g. IIterable).

@dunhor dunhor added the bug Something isn't working label Feb 7, 2022
@dunhor dunhor self-assigned this Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants