From owner-freebsd-hackers Tue Mar 20 11:35: 4 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from hawk.prod.itd.earthlink.net (hawk.prod.itd.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id E47D137B71C for ; Tue, 20 Mar 2001 11:35:01 -0800 (PST) (envelope-from fmela0@sm.socccd.cc.ca.us) Received: from sm.socccd.cc.ca.us (pool0116.cvx4-bradley.dialup.earthlink.net [209.178.146.116]) by hawk.prod.itd.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id LAA01798; Tue, 20 Mar 2001 11:34:46 -0800 (PST) Message-ID: <3AB7B141.6CB14ADF@sm.socccd.cc.ca.us> Date: Tue, 20 Mar 2001 11:36:33 -0800 From: Farooq Mela Reply-To: fmela0@sm.socccd.cc.ca.us X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: Greywolf Cc: Shankar Agarwal , tech-kern@netbsd.org, bsd hackers Subject: Re: Question regarding the array of size 0. References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greywolf wrote: > # struct { \ > # int8_t pad[ (sizeof (register_t) < sizeof (x)) \ > # ? 0 \ > # : sizeof (register_t) - sizeof (x)]; \ > I thought ?: were evaluated at run-time, not compile-time? sizeof() is evaluated at compile time. -- farooq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message