From owner-freebsd-current Thu May 30 3:16:15 2002 Delivered-To: freebsd-current@freebsd.org Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.139.170]) by hub.freebsd.org (Postfix) with ESMTP id 0E44E37B40B for ; Thu, 30 May 2002 03:15:53 -0700 (PDT) Received: from storm.FreeBSD.org.uk (uucp@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.12.3/8.12.3) with ESMTP id g4UAFdhf046423; Thu, 30 May 2002 11:15:39 +0100 (BST) (envelope-from mark@grimreaper.grondar.org) Received: (from uucp@localhost) by storm.FreeBSD.org.uk (8.12.3/8.12.3/Submit) with UUCP id g4UAFdpj046422; Thu, 30 May 2002 11:15:39 +0100 (BST) Received: from grimreaper.grondar.org (localhost [127.0.0.1]) by grimreaper.grondar.org (8.12.3/8.12.3) with ESMTP id g4UABUCa083151; Thu, 30 May 2002 11:11:30 +0100 (BST) (envelope-from mark@grimreaper.grondar.org) Message-Id: <200205301011.g4UABUCa083151@grimreaper.grondar.org> To: Peter Wemm Cc: Alfred Perlstein , Wilko Bulte , Peter Schultz , taguchi@tohoku.iij.ad.jp, freebsd-current@FreeBSD.ORG Subject: Re: XFree86-4-libraries build error References: <20020530081307.733E33810@overcee.wemm.org> In-Reply-To: <20020530081307.733E33810@overcee.wemm.org> ; from Peter Wemm "Thu, 30 May 2002 01:13:07 PDT." Date: Thu, 30 May 2002 11:11:30 +0100 From: Mark Murray Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > > #pragma weak foo = bar > > > > What's the correct way to do this now? > > I dont know. :-( There are hacks that can work around it, but I think this > is unintentional breakage. I tried changing this: > #pragma weak foo = bar > to > __weak_reference(bar, foo); void f () __attribute__ ((weak, alias ("__f"))); (But that may come to the same thing). M -- o Mark Murray \_ O.\_ Warning: this .sig is umop ap!sdn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message