[PATCH] Add -Wno-cast-truncate
commitc974e38bfdf1484f39b473577f1dd047706384e4
authorJosh Triplett <josht@us.ibm.com>
Wed, 30 Aug 2006 01:17:31 +0000 (29 18:17 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 30 Aug 2006 02:11:52 +0000 (29 19:11 -0700)
treec49df7dcd48afe31dc867c853bfa29d8ab8619d0
parent9c76e93d9e2d8b7273764cdd294f2ace3e96d072
[PATCH] Add -Wno-cast-truncate

Add the ability to turn off checks for casts that truncate constant values
using -Wno-cast-truncate, helpful when attempting to track down a particular
class of warnings only without losing them amongst others.  Checks for
truncating casts default 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>
expand.c
lib.c
lib.h