diff --git a/test/custom_ccs/member_ccs.cpp b/test/custom_ccs/member_ccs.cpp index cae2eb9..1518679 100644 --- a/test/custom_ccs/member_ccs.cpp +++ b/test/custom_ccs/member_ccs.cpp @@ -11,6 +11,13 @@ #include BOOST_PRAGMA_MESSAGE("Test skipped because _M_IX86 is not defined") +#elif defined(__clang__) + +// Clang-cl 32 bit supports __stdcall, but BOOST_FT_CC_STDCALL isn't defined so the test errors out + +#include +BOOST_PRAGMA_MESSAGE("Test skipped because _M_IX86 is defined, but __clang__ is also defined") + #else #define BOOST_FT_AUTODETECT_CALLING_CONVENTIONS diff --git a/test/custom_ccs/member_ccs_exact.cpp b/test/custom_ccs/member_ccs_exact.cpp index 5ae4b84..f279cf3 100644 --- a/test/custom_ccs/member_ccs_exact.cpp +++ b/test/custom_ccs/member_ccs_exact.cpp @@ -11,6 +11,13 @@ #include BOOST_PRAGMA_MESSAGE("Test skipped because _M_IX86 is not defined") +#elif defined(__clang__) + +// Clang-cl 32 bit supports __stdcall, but BOOST_FT_CC_STDCALL isn't defined so the test errors out + +#include +BOOST_PRAGMA_MESSAGE("Test skipped because _M_IX86 is defined, but __clang__ is also defined") + #else #define BOOST_FT_AUTODETECT_CALLING_CONVENTIONS diff --git a/test/custom_ccs/nonmember_ccs.cpp b/test/custom_ccs/nonmember_ccs.cpp index 4f35c9b..916ac34 100644 --- a/test/custom_ccs/nonmember_ccs.cpp +++ b/test/custom_ccs/nonmember_ccs.cpp @@ -11,6 +11,13 @@ #include BOOST_PRAGMA_MESSAGE("Test skipped because _M_IX86 is not defined") +#elif defined(__clang__) + +// Clang-cl 32 bit supports __stdcall, but BOOST_FT_CC_STDCALL isn't defined so the test errors out + +#include +BOOST_PRAGMA_MESSAGE("Test skipped because _M_IX86 is defined, but __clang__ is also defined") + #else #define BOOST_FT_AUTODETECT_CALLING_CONVENTIONS diff --git a/test/custom_ccs/nonmember_ccs_exact.cpp b/test/custom_ccs/nonmember_ccs_exact.cpp index 1116783..9155ca9 100644 --- a/test/custom_ccs/nonmember_ccs_exact.cpp +++ b/test/custom_ccs/nonmember_ccs_exact.cpp @@ -11,6 +11,13 @@ #include BOOST_PRAGMA_MESSAGE("Test skipped because _M_IX86 is not defined") +#elif defined(__clang__) + +// Clang-cl 32 bit supports __stdcall, but BOOST_FT_CC_STDCALL isn't defined so the test errors out + +#include +BOOST_PRAGMA_MESSAGE("Test skipped because _M_IX86 is defined, but __clang__ is also defined") + #else #define BOOST_FT_AUTODETECT_CALLING_CONVENTIONS