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

Problem: if constexpr warnings on MSVC #460

Merged
merged 1 commit into from
Jan 15, 2021
Merged

Conversation

gummif
Copy link
Member

@gummif gummif commented Oct 25, 2020

Solution: Use if constexpr where possible in C++17

@sigiesec
Copy link
Member

It's not clear to me which specific warnings this fixes, but while this adds some complexity that doesn't seem strictly necessary, I am fine with this.

Can you rebase the PR please, so we can see the CI working after the catch fix?

@gummif
Copy link
Member Author

gummif commented Nov 25, 2020

If I remember correctly then I get this warning where I use the library https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-4-c4127?view=msvc-160 . I will rebase it.

Solution: Use if constexpr where possible in C++17
@sigiesec sigiesec merged commit c591113 into zeromq:master Jan 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants