diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index b072b5e..ae44914 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -9,6 +9,15 @@ import testing ; +project + : default-build + extra + : requirements + msvc:on + gcc:on + clang:on + ; + run function_test.cpp ; # /usr/include/c++/4.4/bits/shared_ptr.h:146: error: cannot use typeid with -fno-rtti run function_test.cpp : : : off gcc-4.4.7,0x:no : function_test_no_rtti ; diff --git a/test/function_n_test.cpp b/test/function_n_test.cpp index 418c46f..48fefc3 100644 --- a/test/function_n_test.cpp +++ b/test/function_n_test.cpp @@ -7,6 +7,10 @@ // For more information, see http://www.boost.org +#if defined(__clang__) +# pragma clang diagnostic ignored "-Wself-assign-overloaded" +#endif + #include #include #include diff --git a/test/function_test.cpp b/test/function_test.cpp index 88747e0..f6b7301 100644 --- a/test/function_test.cpp +++ b/test/function_test.cpp @@ -7,6 +7,10 @@ // For more information, see http://www.boost.org +#if defined(__clang__) +# pragma clang diagnostic ignored "-Wself-assign-overloaded" +#endif + #include #include #include