Exclude clang-cl from msvc workaround

This commit is contained in:
Peter Dimov
2026-02-06 22:51:39 +02:00
parent 0d565eac10
commit a680ca3e85

View File

@@ -23,13 +23,13 @@
#define _SCL_SECURE_NO_WARNINGS
#endif
#ifdef _MSC_VER
#if defined(_MSC_VER) && !defined(__clang__)
// counting_iterator generates a warning about truncating an integer
#pragma warning(push)
#pragma warning(disable : 4244)
#endif
#include <boost/iterator/counting_iterator.hpp>
#ifdef _MSC_VER
#if defined(_MSC_VER) && !defined(__clang__)
template ::boost::counting_iterator<int>;
#pragma warning(pop)
#endif