Re: 2.2.18pre2: gcc 2.7 doesn't like __attr__((unused))

From: Chip Salzenberg (chip@valinux.com)
Date: Sat Sep 02 2000 - 21:39:39 EST


According to Alan Cox:
> > I'm not sure if __attribute__((unused)) has an equivalent in gcc 2.7,
> > but as it appears in the AGP driver, it doesn't work with gcc 2.7.
>
> Try static void __attribute((unused)) unused(void)

I'm afraid that didn't work either.

-- 
Chip Salzenberg              - a.k.a. -              <chip@valinux.com>
"I wanted to play hopscotch with the impenetrable mystery of existence,
    but he stepped in a wormhole and had to go in early."  // MST3K
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:14 EST