Hi Everyone

Here's a patch to disable implicit int to bool warnings for msvc libcxx by
changing the project file default to silence this warning.

There are about a dozen or so instances of this warning in libcxx and I am
happy to make those changes manually if consensus forms to prefer that but
so far that isn't the case.

It's simply changing things like bool b = x & m; to b = (x&m) != 0;

In absence of consensus to me making these types of changes I've gone with
this change to the project file to disable the warnings instead. This
change only effects MSVC, other compilers already default to this it seems.

Attachment: cmakelists.txt.diff
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to