Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 May 2002 16:01:37 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Jens Schweikhardt <schweikh@schweikhardt.net>
Cc:        Garrett Wollman <wollman@khavrinen.lcs.mit.edu>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/sys gpt.h
Message-ID:  <20020529230137.GA306@dhcp01.pn.xcllnt.net>
In-Reply-To: <20020529233248.A24780@schweikhardt.net>
References:  <200205290258.g4T2wgF83137@freefall.freebsd.org> <9551.1022648961@critter.freebsd.dk> <20020529053653.GA306@dhcp01.pn.xcllnt.net> <20020529173621.B11817@chiark.greenend.org.uk> <20020529131927.C64995@kayak.xcllnt.net> <200205292027.g4TKRfnv031668@khavrinen.lcs.mit.edu> <20020529133846.E64995@kayak.xcllnt.net> <20020529233248.A24780@schweikhardt.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 29, 2002 at 11:32:48PM +0200, Jens Schweikhardt wrote:
> 
> It is. The answer is sizeof (struct X). You are the one to make
> nonportable assumptions by thinking there must be no padding.

No, I assume that the compiler does do gratuitous padding, beyond
what is reasonable or expected. Especially not to extend the size
of the struct after the last field.

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel@xcllnt.net

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020529230137.GA306>