BillyONeal marked an inline comment as done.
BillyONeal added inline comments.


================
Comment at: 
test/std/containers/sequences/vector/vector.cons/construct_iter_iter.pass.cpp:159
     float array[3] = {0.0f, 1.0f, 2.0f};
+#pragma warning(suppress: 4244) // narrowing float to int
     std::vector<int> v(array, array + 3);
----------------
CaseyCarter wrote:
> This will blow up non-MSVC-ish when running the test suite with `-Wall -W 
> -Werror` (which is typical). I suggest wrapping in `#ifdef _MSC_VER`.
Why didn't it blow up on Contest then? clang-cl is happy with it?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61365/new/

https://reviews.llvm.org/D61365



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to