diff --git a/example/lambda_future.cpp b/example/lambda_future.cpp index 8d75e16d..0a98be02 100644 --- a/example/lambda_future.cpp +++ b/example/lambda_future.cpp @@ -20,7 +20,7 @@ #include #if defined BOOST_THREAD_PROVIDES_FUTURE_CONTINUATION \ - && ! defined BOOST_NO_CXX11_LAMBDAS && ! (defined BOOST_MSVC && _MSC_VER < 1700) + && ! defined BOOST_NO_CXX11_LAMBDAS && ! (defined BOOST_MSVC && _MSC_VER < 1800) // works since msvc-12.0 #ifdef BOOST_MSVC #pragma warning(disable: 4127) // conditional expression is constant @@ -71,6 +71,8 @@ int main() } #else +#warning "This test is not supported in this configuration, either because Bosst.Thread has been configured to don't support continuations, the compiler doesn't provides lambdas or because they are buggy as for MSV versions < msvc-12.0" + int main() { return 0;