Maybe it does need to be a generic type, but I was meaning a trap for code
written specifically without "unsigned" or "signed" before the "char" and with
a negative assignment or comparison.
This would certainly allow the most common cases to be trapped, both in the
kernel and in buggy getopt() uses in userland.
Any suggestions for a new -W flag name for this?
_____
|_____| ------------------------------------------------- ---+---+-
| | Russell King rmk@arm.linux.org.uk --- ---
| | | | http://www.arm.linux.org.uk/~rmk/aboutme.html / / |
| +-+-+ --- -+-
/ | THE developer of ARM Linux |+| /|\
/ | | | --- |
+-+-+ ------------------------------------------------- /\\\ |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/