Date: Mon, 17 Oct 2011 15:25:48 +0000 From: Alexander Best <arundel@freebsd.org> To: freebsd-toolchain@freebsd.org Subject: disable -Wtautological-compare for clang Message-ID: <20111017152548.GA66978@freebsd.org>
index | next in thread | raw e-mail
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. alexhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111017152548.GA66978>
