From owner-cvs-all Wed May 29 13:28: 7 2002 Delivered-To: cvs-all@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 1D52E37B407; Wed, 29 May 2002 13:27:42 -0700 (PDT) Received: from khavrinen.lcs.mit.edu (localhost [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.3/8.12.3) with ESMTP id g4TKRfEN031671; Wed, 29 May 2002 16:27:41 -0400 (EDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.3/8.12.3/Submit) id g4TKRfnv031668; Wed, 29 May 2002 16:27:41 -0400 (EDT) Date: Wed, 29 May 2002 16:27:41 -0400 (EDT) From: Garrett Wollman Message-Id: <200205292027.g4TKRfnv031668@khavrinen.lcs.mit.edu> To: Marcel Moolenaar Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys gpt.h In-Reply-To: <20020529131927.C64995@kayak.xcllnt.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> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG < said: > what's the size of struct X { int64_t a; int32_t b; }; > There's no value in an answer that starts of with "It depends...". > The size should always be 12 bytes, independent of any alignment > requirements I may attach to it. The C programming language does not work that way, and has never worked that way. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message