From owner-freebsd-current Mon Jun 3 8:11: 9 2002 Delivered-To: freebsd-current@freebsd.org Received: from daemonz.org (TK212017094177.teleweb.at [212.17.94.177]) by hub.freebsd.org (Postfix) with SMTP id B1A8137B400 for ; Mon, 3 Jun 2002 08:11:04 -0700 (PDT) Received: (qmail 7301 invoked by uid 1001); 3 Jun 2002 15:15:44 -0000 Date: Mon, 3 Jun 2002 17:15:44 +0200 From: Stanislav Grozev To: freebsd-current@freebsd.org Cc: "Marc G. Fournier" Subject: Re: GCC3.1 internal compiler error when compiling XFree86-4-libraries Message-ID: <20020603151544.GB6796@meerkat.dungeon> References: <20020603125433.GA5356@meerkat.dungeon> <20020603114429.I2522-100000@mail1.hub.org> <20020603150623.GA6796@meerkat.dungeon> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020603150623.GA6796@meerkat.dungeon> User-Agent: Mutt/1.3.99i 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 On Mon, Jun 03, 2002 at 05:06:23PM +0200, Stanislav Grozev wrote: > On Mon, Jun 03, 2002 at 11:44:43AM -0300, Marc G. Fournier wrote: > > > > stupid question, but what is the fix for the #pragma weak issue? :( > > you replace > #pragma weak foo = bar > with either > #pragma weak foo = "bar" /* this is easier */ > or > if __GNUC__ >= 3 err, i meant #if, not if. :-) mondays... > int foo() __attribute__ ((weak, alias ("bar"))); > #endif /* __GNUC__ */ > . > :-) -tacho To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message