From: "Ronald G. Minnich" <rminnich@lanl.gov>
To: 9fans@cse.psu.edu
Subject: [9fans] am I nuts? does 8c support packed structs?
Date: Fri, 22 Oct 2004 09:26:35 -0600 [thread overview]
Message-ID: <Pine.LNX.4.58.0410220925220.15797@linux.site> (raw)
consider this:
struct a {
ulong x;
long y;
short z;
};
in GCC, you can add attribute packed and that struct will be 10 bytes. I'm
getting some static from the Xen guys because IIRC 8c does not support
packed structs -- that struct on 8c is 12 bytes.
Am I nuts? Is there some 8c pragma that can force this to be packed?
ron
next reply other threads:[~2004-10-22 15:26 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-22 15:26 Ronald G. Minnich [this message]
2004-10-22 15:30 ` Russ Cox
2004-10-22 15:49 ` C H Forsyth
2004-10-22 16:37 ` Ronald G. Minnich
2004-10-22 16:54 ` C H Forsyth
2004-10-22 21:13 ` Bruce Ellis
2004-10-22 21:00 ` Charles Forsyth
2004-10-22 16:51 ` Russ Cox
2004-10-22 17:27 ` Ronald G. Minnich
2004-10-22 17:20 ` Ronald G. Minnich
2004-10-22 17:28 ` Russ Cox
2004-10-22 17:30 ` Ronald G. Minnich
2004-10-22 17:29 ` jmk
2004-10-22 17:31 ` Ronald G. Minnich
2004-10-22 17:50 ` Brantley Coile
2004-10-22 18:32 ` C H Forsyth
2004-10-22 18:14 ` Charles Forsyth
2004-10-22 19:25 ` boyd, rounin
2004-10-22 19:35 ` Ronald G. Minnich
2004-10-22 19:38 ` boyd, rounin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.58.0410220925220.15797@linux.site \
--to=rminnich@lanl.gov \
--cc=9fans@cse.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).