From owner-freebsd-hackers Wed Feb 21 8:25:19 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from gw.nectar.com (gw.nectar.com [208.42.49.153]) by hub.freebsd.org (Postfix) with ESMTP id 69A5037B699 for ; Wed, 21 Feb 2001 08:25:17 -0800 (PST) (envelope-from nectar@nectar.com) Received: from hamlet.nectar.com (hamlet.nectar.com [10.0.1.102]) by gw.nectar.com (Postfix) with ESMTP id E964F18C92; Wed, 21 Feb 2001 10:25:16 -0600 (CST) Received: (from nectar@localhost) by hamlet.nectar.com (8.11.2/8.9.3) id f1LGPGo93551; Wed, 21 Feb 2001 10:25:16 -0600 (CST) (envelope-from nectar@spawn.nectar.com) Date: Wed, 21 Feb 2001 10:25:16 -0600 From: "Jacques A. Vidrine" To: Warner Losh Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: portability sanity check Message-ID: <20010221102516.B93525@hamlet.nectar.com> Mail-Followup-To: "Jacques A. Vidrine" , Warner Losh , freebsd-hackers@FreeBSD.ORG References: <20010221094228.A93221@hamlet.nectar.com> <200102211553.f1LFrvs07412@billy-club.village.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200102211553.f1LFrvs07412@billy-club.village.org>; from imp@village.org on Wed, Feb 21, 2001 at 08:53:57AM -0700 X-Url: http://www.nectar.com/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Feb 21, 2001 at 08:53:57AM -0700, Warner Losh wrote: > The standard requires that (void *) &foo == (void *) &foo->s Thanks, that is what I was trying to track down but couldn't find it. I also thought that perhaps a structure has the same requirement alignments as its first member ... I think that means the same thing as you've stated. Cheers, -- Jacques Vidrine / n@nectar.com / jvidrine@verio.net / nectar@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message