Mail Archives: djgpp/1997/09/21/10:17:57
Is there a keyword to tell DJGPP to pack one _single_ struct, this means
non-alignment of the variables, thus leaving no "holes" between them ?
I need this for writing/reading a header easily from a files into a struct,
using fread/frwite.
(Watcom C/C++ has a _PACKED keyword, for example)
I'm aware of the compiler option "-fpack-struct", but this will pack
_every_ struct, which will cause unnecessary problems.
Thanks for you help,
Jan Baumgart
- Raw text -