aboutsummaryrefslogtreecommitdiff
path: root/lib.h
diff options
context:
space:
mode:
authorJosh Triplett <josht@us.ibm.com>2006-08-29 18:17:24 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-08-29 19:11:52 -0700
commit9c76e93d9e2d8b7273764cdd294f2ace3e96d072 (patch)
treeba08209c77f1add077c7f7327d187c03546dba71 /lib.h
parent[PATCH] Add -Wno-address-space (diff)
downloadsparse-9c76e93d9e2d8b7273764cdd294f2ace3e96d072.tar.gz
sparse-9c76e93d9e2d8b7273764cdd294f2ace3e96d072.tar.bz2
sparse-9c76e93d9e2d8b7273764cdd294f2ace3e96d072.zip
[PATCH] Add -Wno-enum-mismatch
Add the ability to turn off enum type mismatch warnings using -Wno-enum-mismatch, helpful when attempting to track down a particular class of warnings only without losing them amongst others. Enum type mismatch checking defaults to on, so this does not change the default behavior of sparse. Signed-off-by: Josh Triplett <josh@freedesktop.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib.h')
-rw-r--r--lib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib.h b/lib.h
index 24dd38f..0b45c67 100644
--- a/lib.h
+++ b/lib.h
@@ -79,6 +79,7 @@ extern int Wbitwise, Wtypesign, Wcontext;
extern int Wtransparent_union;
extern int Waddress_space;
extern int Wcast_to_address_space;
+extern int Wenum_mismatch;
extern int Wdecl;
extern int Wone_bit_signed_bitfield;
extern int Wshadow;