disable -Wtautological-compare for clang

Alexander Best arundel at freebsd.org
Mon Oct 17 15:25:49 UTC 2011


hi there,

any chance we could disable -Wtautological-compare for clang? i don't think
comparing an unsigned int against < 0 is worth a warning. actually it's always
nice to have such a seatbelt, in case somebody changes the type to int and
forgets to introduce such a check.

cheers.
alex


More information about the freebsd-toolchain mailing list