[cfe-commits] [PATCH] Enhance -Wtautological-compare
Xi Wang
xi.wang at gmail.com
Fri Mar 2 11:08:26 PST 2012
On Mar 2, 2012, at 1:58 PM, Joerg Sonnenberger wrote:
> Portable code generally has to deal with "char", i.e. because it is an
> interface constraint. Please don't add warnings that triggers on one
> platform (which uses unsigned char by default like ARM), but not on
> others. I already gave you an instance for code using such checks.
Do you mean some ctype.h implementation? Can you please point me to an
example where (char < 0) is used and char is unsigned? Thanks. ;-)
- xi
More information about the cfe-commits
mailing list