| delorie.com/archives/browse.cgi | search |
| Date: | Fri, 29 Jul 94 16:16:46 -0400 |
| From: | dj AT ctron DOT com (DJ Delorie) |
| To: | enrico AT max DOT tiac DOT net |
| Cc: | djgpp AT sun DOT soe DOT clarkson DOT edu |
| Subject: | Re: Fread |
> Allright. It seems that GCC pads it's structs with extra bytes in > order to get proper alignment of it's long words. This is all very > fine and good, until I want to go and fread a structure written by a > programme compiled with some other compiler. Any suggestions? Use __attribute__((packed)). See the gcc info files.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |