public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Jeff Chua <jeffchua@silk.corp.fedex.com>
Cc: torvalds@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] warning: `__attribute_used__' redefined
Date: Mon, 9 Feb 2004 22:53:36 -0800	[thread overview]
Message-ID: <20040209225336.1f9bc8a8.akpm@osdl.org> (raw)
In-Reply-To: <Pine.LNX.4.58.0402101434260.27213@boston.corp.fedex.com>

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?


  reply	other threads:[~2004-02-10  6:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-10  6:39 [PATCH] warning: `__attribute_used__' redefined Jeff Chua
2004-02-10  6:53 ` Andrew Morton [this message]
2004-02-10 13:59   ` Jeff Chua
2004-02-10 16:25     ` Andrew Morton
2004-02-10 16:31       ` Linus Torvalds
2004-02-10 17:10         ` Daniel Jacobowitz
2004-02-10 17:18           ` Linus Torvalds
2004-02-10 17:28           ` Valdis.Kletnieks
2004-02-10 17:37         ` Andrew Morton
2004-02-11 13:07         ` Jeff Chua

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040209225336.1f9bc8a8.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=jeffchua@silk.corp.fedex.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox