This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: packing
- From: Reinhard Nissl <rnissl at gmx dot de>
- To: gcc at gcc dot gnu dot org
- Date: Sun, 07 Sep 2003 13:50:26 +0200
- Subject: Re: packing
- References: <3F5B10BF.5020406@gmx.de>
Hi,
please don't care about my previous message. It was my fault. I wrote the
wrong data structure to the file. It contained an additional char member and
that's why I got 5 bytes instead of 4.
__attribute__((packed)) is ok and works!
Bye.
--
Dipl.-Inform. (FH) Reinhard Nissl
mailto:rnissl@gmx.de