On Thu, Jan 17, 2013 at 12:08 AM, John Keeping <j...@keeping.me.uk> wrote: > On Wed, Jan 16, 2013 at 11:47:22PM +0100, Antoine Pelisse wrote: >> clang incorrectly reports a constant conversion warning (implicit >> truncation to bit field) when using the "flag &= ~FLAG" form, because >> ~FLAG needs to be truncated. > Which version of clang did you see this with? I don't get these > warnings with clang 3.2.
Ubuntu clang version 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM 3.0) It's good to know it's been fixed ! -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html