Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jun 2002 21:21:24 -0300 (ADT)
From:      "Marc G. Fournier" <scrappy@hub.org>
To:        Stanislav Grozev <tacho@factline.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: GCC3.1 internal compiler error when compiling XFree86-4-libraries
Message-ID:  <20020603211621.V2522-100000@mail1.hub.org>
In-Reply-To: <20020603150623.GA6796@meerkat.dungeon>

next in thread | previous in thread | raw e-mail | index | archive | help

has any of this been reported to the XFree86 folk?  I just CVSup'd the
latest XFree86 source code and this #pragma condition appears to still
exist :(

On Mon, 3 Jun 2002, 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
> 		int foo() __attribute__ ((weak, alias ("bar")));
> 	#endif /* __GNUC__ */
> .
> :-)
>
> but that only gets you to the Mesa mess;-(
>
> -tacho
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020603211621.V2522-100000>