1 << 31 redux

Ed Schouten ed at nuxi.nl
Thu Jan 11 12:06:23 UTC 2018


2018-01-11 13:03 GMT+01:00 Eitan Adler <lists at eitanadler.com>:
> I'd also like to see if we could find some more general solution, be it a
> compiler warning, bit set macro, or otherwise.

Does Clang already offer a warning for this? If so, we should consider
adding it to WARNS=6.

-- 
Ed Schouten <ed at nuxi.nl>
Nuxi, 's-Hertogenbosch, the Netherlands


More information about the freebsd-hackers mailing list