Re: [arch-general] problem with gcc and __unused function attribute

2008-05-17 Thread Byron Clark
On Sat, May 17, 2008 at 05:08:37PM +, 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

[arch-general] problem with gcc and __unused function attribute

2008-05-17 Thread Michael Krauss
Hello, dma is now running on Arch Linux but I found one odd thing: 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: [EMAIL PROTECTED] dma]\$ LANG=us gcc -DHAVE_CRYPTO -o dma dma.c conf.c cry