Re: A Few Questions..

From: Wout Mertens (Wout.Mertens@rug.ac.be)
Date: 04/15/96


On Sun, 14 Apr 1996, Alex van Koppen wrote:
> > >Be warned though, this will destroy your playerfile.
> > Depends on what system you have. Longs and ints under my version of slackware linux
> > are both 4 byte values.
> 
> Be advised though that GCC has some trouble with structures (which could 
> be the cause of this...)

Not really, this is a /feature/. And quite legal, too... Compilers have 
the right to pad their structures to align data... But if you really 
want, you can tell the compiler to not pad them. Check the man pages. 
It's some pragma I believe.

Gekke Eekhoorn of BUG.



This archive was generated by hypermail 2b30 : 12/18/00 PST