aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@gmail.com>2010-05-26 11:52:57 +0100
committerChristopher Li <sparse@chrisli.org>2010-06-17 17:21:10 -0700
commita8b9de7b421113740eea248c2e0720689b402c3e (patch)
treecb13feb256794a6c835337fabe80fbf67fe293d5
parentParsing wide char string (diff)
downloadsparse-a8b9de7b421113740eea248c2e0720689b402c3e.tar.gz
sparse-a8b9de7b421113740eea248c2e0720689b402c3e.tar.bz2
sparse-a8b9de7b421113740eea248c2e0720689b402c3e.zip
Ignore the may_alias GCC attribute
may_alias is used in the wild (glib) and makes sparse spew a lot of unhelpful warning messages. Ignore it (for now?). Signed-off-by: Damien Lespiau <damien.lespiau@gmail.com> Signed-off-by: Christopher Li <sparse@chrisli.org>
-rw-r--r--parse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/parse.c b/parse.c
index f81b19f..f5c5497 100644
--- a/parse.c
+++ b/parse.c
@@ -517,6 +517,8 @@ const char *ignored_attributes[] = {
"__hot__",
"malloc",
"__malloc__",
+ "may_alias",
+ "__may_alias__",
"model",
"__model__",
"ms_abi",