All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Stefaniuc <mstefaniuc@gmail.com>
To: linux-sparse@vger.kernel.org
Subject: [PATCH] Ignore the ms_abi/sysv_abi attributes.
Date: Wed, 30 Sep 2009 22:18:50 +0200	[thread overview]
Message-ID: <20090930201850.GA32461@redhat.com> (raw)

This is needed for getting a meaningful sparse run on a Wine 64-bit
compile. Else the basic Win32 headers will produce tons of
error: attribute 'ms_abi': unknown attribute
which end in
error: too many errors.

The sysv_abi attribute was just added for symmetry.

Signed-off-by: Michael Stefaniuc <mstefaniuc@gmail.com>
---
Resend for the chrisl tree.


 parse.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/parse.c b/parse.c
index 34fa562..fa3b45e 100644
--- a/parse.c
+++ b/parse.c
@@ -508,6 +508,8 @@ const char *ignored_attributes[] = {
 	"__malloc__",
 	"model",
 	"__model__",
+	"ms_abi",
+	"__ms_abi__",
 	"no_instrument_function",
 	"__no_instrument_function__",
 	"noinline",
@@ -530,6 +532,8 @@ const char *ignored_attributes[] = {
 	"__stdcall__",
 	"syscall_linkage",
 	"__syscall_linkage__",
+	"sysv_abi",
+	"__sysv_abi__",
 	"unused",
 	"__unused__",
 	"used",
-- 
1.6.5.rc2

                 reply	other threads:[~2009-09-30 20:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20090930201850.GA32461@redhat.com \
    --to=mstefaniuc@gmail.com \
    --cc=linux-sparse@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.