Skip to content

MSVC compat: replace __attribute__((packed)) with #pragma pack(...) - #712

Open
fredemmott wants to merge 1 commit into
trabucayre:masterfrom
fredemmott:pragma-pack
Open

MSVC compat: replace __attribute__((packed)) with #pragma pack(...)#712
fredemmott wants to merge 1 commit into
trabucayre:masterfrom
fredemmott:pragma-pack

Conversation

@fredemmott

Copy link
Copy Markdown

Unfortunately there's no standard, but #pragma pack is supported by GCC, clang, and MSVC, whereas MSVC doesn't support an attribute for it.

refs #704

Unfortunately there's no standard, but `#pragma pack` is supported by GCC, clang, and MSVC, whereas MSVC doesn't support an attribute for it.

refs trabucayre#704
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.

1 participant