diff options
author | 2010-05-26 11:52:57 +0100 | |
---|---|---|
committer | 2010-06-17 17:21:10 -0700 | |
commit | a8b9de7b421113740eea248c2e0720689b402c3e (patch) | |
tree | cb13feb256794a6c835337fabe80fbf67fe293d5 | |
parent | Parsing wide char string (diff) | |
download | sparse-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -517,6 +517,8 @@ const char *ignored_attributes[] = { "__hot__", "malloc", "__malloc__", + "may_alias", + "__may_alias__", "model", "__model__", "ms_abi", |