On 17/05/08, Byron Clark wrote: > On Sat, May 17, 2008 at 05:08:37PM +0000, Michael Krauss wrote: > > static void > > sig_alarm(int signo __unused) > > { > > longjmp(timeout_alarm, 1); > > } > > 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); > } > This one works, thanks. But I wonder how it is compiled on DragonFly because they use gcc4.1? It doesn't greatly matter. I will ask when I am sending patches upstream. Kind regards, Michael Krauss