[PATCH] D14337: Define a portable macro for specifying packed struct

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 4 15:23:04 PST 2015


rnk requested changes to this revision.
rnk added a comment.
This revision now requires changes to proceed.

GCC and Clang also support packing pragmas, right? I think I'd rather use those so that this code doesn't behave differently:

  LLVM_PACKED_START
  struct A { ... };
  struct B { ... }; // packed in msvc, not gcc/clang
  LLVM_PACKED_END


http://reviews.llvm.org/D14337





More information about the llvm-commits mailing list