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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to