linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Ignore the ms_abi/sysv_abi attributes.
@ 2009-09-30 20:18 Michael Stefaniuc
  0 siblings, 0 replies; only message in thread
From: Michael Stefaniuc @ 2009-09-30 20:18 UTC (permalink / raw)
  To: linux-sparse

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-30 20:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-30 20:18 [PATCH] Ignore the ms_abi/sysv_abi attributes Michael Stefaniuc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).