From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6771 invoked by alias); 4 Sep 2004 01:58:44 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 6751 invoked from network); 4 Sep 2004 01:58:43 -0000 Received: from unknown (HELO are.twiddle.net) (64.81.246.98) by sourceware.org with SMTP; 4 Sep 2004 01:58:43 -0000 Received: from are.twiddle.net (localhost.localdomain [127.0.0.1]) by are.twiddle.net (8.12.11/8.12.11) with ESMTP id i841wf5X031486; Fri, 3 Sep 2004 18:58:41 -0700 Received: (from rth@localhost) by are.twiddle.net (8.12.11/8.12.11/Submit) id i841wfPI031485; Fri, 3 Sep 2004 18:58:41 -0700 X-Authentication-Warning: are.twiddle.net: rth set sender to rth@twiddle.net using -f Date: Sat, 04 Sep 2004 01:58:00 -0000 From: Richard Henderson To: Jakub Jelinek Cc: Ulrich Drepper , Andreas Schwab , libc-hacker@sources.redhat.com Subject: Re: Fix =?iso-8859-1?Q?ia64=2Fsys=2Fuconte?= =?iso-8859-1?Q?xt=2Eh_f=FCr?= g++ 3.5 Message-ID: <20040904015841.GB31433@twiddle.net> Mail-Followup-To: Jakub Jelinek , Ulrich Drepper , Andreas Schwab , libc-hacker@sources.redhat.com References: <20040901172520.GA17065@twiddle.net> <413639ED.9040903@redhat.com> <20040901185338.GL30497@sunsite.ms.mff.cuni.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040901185338.GL30497@sunsite.ms.mff.cuni.cz> User-Agent: Mutt/1.4.1i X-SW-Source: 2004-09/txt/msg00013.txt.bz2 On Wed, Sep 01, 2004 at 08:53:38PM +0200, Jakub Jelinek wrote: > Can't it just use the hardcoded value (0xc8 or what was it) and > do a glibc compile time check somewhere that it is the correct value? That does seem the best solution. If you can't use offsetof, then eventually this code will break in C, with -pedantic, as soon as Joseph Myers gets around to fixing the parser wrt integer constant expressions. r~