mclow.lists added a comment. > Avoid MSVC "warning C4293: '<<': shift count negative or too big, undefined > behavior". > MSVC sees (1ULL << N) and warns - being guarded by const bool canFit is > insufficient. A small change to the code
Your compiler needs to either (a) get much smarter about its warnings, or (b) stop warning about this. It's just WRONG here. https://reviews.llvm.org/D41030 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits