lkml.org 
[lkml]   [2004]   [Feb]   [10]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 9 Feb 2004 22:53:36 -0800
FromAndrew Morton <>
SubjectRe: [PATCH] warning: `__attribute_used__' redefined
Jeff Chua <jeffchua@silk.corp.fedex.com> wrote:
>
> Here's a small fix for linux 2.6.3-rc2 to get rid of the annoying warnings
>  while non-kernel programs ...
> 
>  /usr/include/linux/compiler-gcc2.h:15: warning: `__attribute_used__' redefined
>  /usr/include/sys/cdefs.h:170: warning: this is the location of the previous definition

It is more likely that we need to extend the __KERNEL__ coverage somewhere.

Can you please do a `gcc -H' of that application and show us the inclusion
route by which it is hitting compiler.h?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:00    [from the cache]
©2003-2008