Bug#93481: pragma pack works on x86; ignored on arm

2001-04-17 Thread Philip Blundell
There is no bug here. "#pragma pack" isn't ignored on arm, it just doesn't do what you expect it to. Try this; the second printf should yield the same results on x86 and arm. #pragma pack(2) struct foo { short a; long b; }; int main() { struct foo f; /* prints

Bug#93481: pragma pack works on x86; ignored on arm

2001-04-10 Thread Benjamin Gray Darnell
On Tue, 10 Apr 2001, Daniel Jacobowitz wrote: > On Mon, Apr 09, 2001 at 10:37:08PM -0400, Ben Darnell wrote: > > Package: gcc > > Version: 1:2.95.3-7 > > Severity: normal > > > > Pragma pack works as expected on x86, but is ignored on arm (test case at > > the > > end of this mail, verified on ra

Bug#93481: pragma pack works on x86; ignored on arm

2001-04-10 Thread Daniel Jacobowitz
On Mon, Apr 09, 2001 at 10:37:08PM -0400, Ben Darnell wrote: > Package: gcc > Version: 1:2.95.3-7 > Severity: normal > > Pragma pack works as expected on x86, but is ignored on arm (test case at the > end of this mail, verified on rameau.debian.org). I understand that pragmas > are deprecated in

Bug#93481: pragma pack works on x86; ignored on arm

2001-04-09 Thread Ben Darnell
Package: gcc Version: 1:2.95.3-7 Severity: normal Pragma pack works as expected on x86, but is ignored on arm (test case at the end of this mail, verified on rameau.debian.org). I understand that pragmas are deprecated in favor of __attribute__, but this breaks quite a bit of existing code (see,