MSVC's behavior is to obey __declspec(align), even under the presence of
the pack pragma; this is not compatible with GCC's behavior.
However, it is reasonable to expose such things under #pragma ms_mode.
Paths
| Differential D4649
AST: Alignment attrs override #pragma pack when in ms_struct mode Needs ReviewPublic Authored by majnemer on Jul 23 2014, 5:07 PM.
Revision Contents
Diff 11828 lib/AST/RecordLayoutBuilder.cpp
test/Sema/pragma-ms_struct.c
|