Open GoogleCodeExporter opened 9 years ago
Have you tried __attribute__((packed))? #pragma pack is the Microsoft way of
doing things and while GCC may
support it I'm not sure if LLVM-GCC does.
Original comment by nightwat...@gmail.com
on 23 Sep 2007 at 8:44
Actually, you may be misunderstanding packed structures. I'm not certain that
pack prohibits structures from
being rounded up to a certain value - it only prohibits space from being
inserted in between members.
Original comment by nightwat...@gmail.com
on 23 Sep 2007 at 9:08
It was (pre-2.1) llvm-gcc bug not to handle 'pack' pragma. However, bug was for
non-darwin hosts only. You might want to check llvm-gcc TOT (or at least 2.1
release). Please fill LLVM bug if it will still fail for you.
PS: "2" is correct answer here.
Original comment by korobeyn...@gmail.com
on 10 Oct 2007 at 1:50
Original issue reported on code.google.com by
flyl...@gmail.com
on 21 Sep 2007 at 8:49