On Sat, May 17, 2008 at 05:08:37PM +0000, Michael Krauss wrote:
> There is this function in net.c:
> 
> static void
> sig_alarm(int signo __unused)
> {
>       longjmp(timeout_alarm, 1);
> }
> 
> ggc can't handle the __unused attribute:

gcc can handle an unused variable attribute, but a different syntax is
used:

static void
sig_alarm(int signo __attribute__((unused)))
{
    longjmp(timeout_alarm, 1);
}

-- 
Byron Clark

Reply via email to