Skip to content

Conversation

@lhecker
Copy link
Member

@lhecker lhecker commented Jan 11, 2022

This commit fixes the compilation under VS 2022.1 and clang, by evaluating a
static_assert(false) safety check only when the template is instantiated.
This is achieved by making the assertion depend on the template parameter.

Validation Steps Performed

  • Host.EXE compiles under VS 17.1.0 Preview 3.0 (32110.40.d17.1) ✅

@zadjii-msft
Copy link
Member

@msftbot merge this in 1 minute

@lhecker
Copy link
Member Author

lhecker commented Jan 11, 2022

Thanks!

@ghost ghost added the AutoMerge Marked for automatic merge by the bot when requirements are met label Jan 11, 2022
@ghost
Copy link

ghost commented Jan 11, 2022

Hello @zadjii-msft!

Because you've given me some instructions on how to help merge this pull request, I'll be modifying my merge approach. Here's how I understand your requirements for merging this pull request:

  • I won't merge this pull request until after the UTC date Tue, 11 Jan 2022 20:08:02 GMT, which is in 1 minute

If this doesn't seem right to you, you can tell me to cancel these instructions and use the auto-merge policy that has been configured for this repository. Try telling me "forget everything I just told you".

@ghost ghost merged commit d5b177d into main Jan 11, 2022
@ghost ghost deleted the dev/lhecker/vs2022.1-fixup branch January 11, 2022 20:09
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AutoMerge Marked for automatic merge by the bot when requirements are met

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants