Date: Fri, 31 Dec 1999 01:04:19 +0100 (CET) From: Wilmer van der Gaast To: djgpp AT delorie DOT com Subject: Re: Structure padding In-Reply-To: <846v45$aqj@journal.concentric.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On 27 Dec 1999, Technophile wrote: > That's because it differs from machine to machine, depending on the > compiler.... Use sizeof() in a little demo program to find out the sizes > are for your box. For instance, something similar to the following will > give you the values (in total bytes) of each type. > > Ghalos wrote > > really? Wotsit's Format gave me four bytes as the value... > > > > -- > > Ghalos - greg AT holdridge7 DOT freeserve DOT co DOT uk > > Wilmer van der Gaast wrote in message ... > > >On Wed, 22 Dec 1999, Ghalos wrote: > > > > > >> int flags; > > > ^^^ > > >Btw. According to the FLI-specs in PCGPE this one should be two bytes, > > >not four. I know, maybe it might have been better when I wrote that it must be two bytes, not four. That's what I really meant. --------- Wilmer van der Gaast (lintux AT dds DOT nl) ICQ 55707076