Warn on unknown attributes instead of throwing errors
commitf25e41f4856b800d41a5d97122ed881a261deb50
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>
Wed, 2 Nov 2016 21:59:37 +0000 (2 22:59 +0100)
committerChristopher Li <sparse@chrisli.org>
Mon, 13 Feb 2017 01:34:43 +0000 (13 09:34 +0800)
tree246403666ed1d4270ecd74122d512616aec5b9c7
parentd589636c2475bf049b518a55e1b0d8519335936d
Warn on unknown attributes instead of throwing errors

GCC creates new attributes quite often, generaly for specific
usages irrelevant to what sparse is used for.
Throwing errors on these create needless noise and annoyance
which is better to avoid.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Christopher Li <sparse@chrisli.org>
lib.c
lib.h
parse.c
validation/Wunknown-attribute-def.c [new file with mode: 0644]
validation/Wunknown-attribute-no.c [new file with mode: 0644]
validation/Wunknown-attribute-yes.c [new file with mode: 0644]