Mail Archives: djgpp/1997/08/07/01:11:38
On 7 Aug 97 at 14:20, Brett Leslie Porter wrote:
> programs (yet!) You can probably set a compiler switch to turn off
> alignment, I'm not sure.
DON'T DO THIS!!!!!!! Yes, gcc has such a switch, however, if you use
it, you must recompile every single library you use with this switch
(including libc) otherwise you will get some nasty, hard to find
bugs.
Use `__attribute__((packed))' instead. `dos.h' in $(DJDIR)/include
has some examples of it's usage (around line 195, struct _find_t).
Bill
--
Leave others their otherness.
- Raw text -