FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-33351: Correct struct packing in _tracemalloc.c by emmatyping · Pull Request #6761 · python/cpython · GitHub

Repository navigation

bpo-33351: Correct struct packing in _tracemalloc.c - #6761

Closed
emmatyping wants to merge 3 commits into
python:masterfrom
emmatyping:clangwin
Closed

emmatyping wants to merge 3 commits into
python:masterfrom
emmatyping:clangwin

Conversation

emmatyping commented May 11, 2018 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

This is the first of several patches to add clang-cl compatibility to CPython. (Expect more in the coming days).

While it seems MSVC accepts pragma pack/push after the struct tag, clang-cl does not. AFAIK, pragma pack/push usually should go before the tag. This also adds the same packing to pointer_t (which was packed on GCC but not MSVC) and fixed the comment for pointer_t.

Also, I wasn't sure if a news entry was needed since this is a small internal patch and I couldn't find guidelines for when a news entry should be provided.

https://bugs.python.org/issue33351

Copy link
Copy Markdown
Member Author

@zooba this is the issue I mentioned earlier. I'd appreciate your review!

Copy link
Copy Markdown
Member Author

Closing in favor of #7680

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL