This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
float, int length varies inside struct ???
- To: help-gcc at gnu dot org
- Subject: float, int length varies inside struct ???
- From: tommya90 at my-deja dot com
- Date: Tue, 12 Oct 1999 08:43:37 GMT
- Newsgroups: gnu.gcc.help
- Organization: Deja.com - Before you buy.
- Xref: wodc7nx0 gnu.gcc.help:1371
Hi,
I have a structure with a mixture of
shorts, int and floats. What really bugs
me is that floats and ints sometimes
are 6 byte and sometimes 4 byte, which
they are supposed to be. I've had
this problem before, and then I just
divided the structures into structs
with float and structs with shorts.
But the structure I'am using now is too
large. BTW I use Redhat 6.0 on an Intel proc.
Can anyone help me ?
-Tommy
Sent via Deja.com http://www.deja.com/
Before you buy.