Skip to content

Removing MSVC C4522 from pragma block at the top of pybind11.h #3142

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

Merged
merged 1 commit into from
Jul 26, 2021

Conversation

rwgk
Copy link
Collaborator

@rwgk rwgk commented Jul 26, 2021

Follow-on to PR #3127, based on results obtained under PR #3125.

The suggested changelog entry will be in the final PR of this cleanup series.

@rwgk rwgk requested review from Skylion007 and henryiii July 26, 2021 00:30
@rwgk rwgk marked this pull request as ready for review July 26, 2021 17:54
@rwgk rwgk force-pushed the pragma_block_rm_msvc_c4522 branch from ef106c8 to a799fcd Compare July 26, 2021 18:33
Copy link
Collaborator

@henryiii henryiii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a weird warning...

@rwgk
Copy link
Collaborator Author

rwgk commented Jul 26, 2021

This is a weird warning...

Yeah, the fact that it went away with MSVC 2019 makes me think the warning was more of a bug than a feature.

Thanks Henry!

@rwgk rwgk merged commit 7904ba1 into pybind:master Jul 26, 2021
@rwgk rwgk deleted the pragma_block_rm_msvc_c4522 branch July 26, 2021 19:02
@github-actions github-actions bot added the needs changelog Possibly needs a changelog entry label Jul 26, 2021
@rwgk rwgk removed the needs changelog Possibly needs a changelog entry label Jul 26, 2021
henryiii pushed a commit to henryiii/pybind11 that referenced this pull request Jul 29, 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