Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix warnings from mingw compilers#28682

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ksunden merged 3 commits intomatplotlib:mainfromQuLogic:fix-mingw
Aug 8, 2024
Merged

Conversation

QuLogic
Copy link
Member

PR summary

This fixes severalwarnings I noticed while debugging source builds for#28551.

Most are harmless, but I think the capsule change in_c_internal_utils may have hidden a real error (and possibly MSVC just "did the right thing" for us).

PR checklist

Looking at pybind11 again, the `py::capsule::name` method returns a`const char *`, and comparing that with a literal using `==` isunspecified behaviour. Seemingly, this is fine on MSVC, but MinGW gccwarns about it.
This warns with MinGW, since it already defines `_WIN32_WINNT` to0x0a00.
@QuLogicQuLogic added this to thev3.9.2 milestoneAug 8, 2024
@ksundenksunden merged commit1de8208 intomatplotlib:mainAug 8, 2024
45 checks passed
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestAug 8, 2024
@QuLogicQuLogic deleted the fix-mingw branchAugust 8, 2024 19:24
greglucas added a commit that referenced this pull requestAug 8, 2024
…682-on-v3.9.xBackport PR#28682 on branch v3.9.x (Fix warnings from mingw compilers)
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@oscargusoscargusoscargus approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
v3.9.2
Development

Successfully merging this pull request may close these issues.

3 participants
@QuLogic@oscargus@ksunden

[8]ページ先頭

©2009-2025 Movatter.jp