diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 83c74ef..64e171e 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -62,3 +62,11 @@ run bind_nested_rv_test.cpp ; compile arg_copy_test.cpp ; compile-fail arg_copy_fail.cpp ; run placeholder_std_bind_test.cpp ; +run bind_fastcall_test.cpp ; +run bind_stdcall_test.cpp ; +run bind_cdecl_mf_test.cpp ; +run bind_fastcall_mf_test.cpp ; +run bind_stdcall_mf_test.cpp ; +run mem_fn_cdecl_test.cpp ; +run mem_fn_fastcall_test.cpp ; +run mem_fn_stdcall_test.cpp ; diff --git a/test/bind_cdecl_mf_test.cpp b/test/bind_cdecl_mf_test.cpp index 796411c..eaf84d6 100644 --- a/test/bind_cdecl_mf_test.cpp +++ b/test/bind_cdecl_mf_test.cpp @@ -1,5 +1,13 @@ #include +#ifndef BOOST_MSVC + +int main() +{ +} + +#else + #if defined(BOOST_MSVC) #pragma warning(disable: 4786) // identifier truncated in debug info #pragma warning(disable: 4710) // function not inlined @@ -162,3 +170,5 @@ int main() member_function_test(); return boost::report_errors(); } + +#endif diff --git a/test/bind_fastcall_mf_test.cpp b/test/bind_fastcall_mf_test.cpp index c4de246..e333ec7 100644 --- a/test/bind_fastcall_mf_test.cpp +++ b/test/bind_fastcall_mf_test.cpp @@ -1,5 +1,13 @@ #include +#ifndef BOOST_MSVC + +int main() +{ +} + +#else + #if defined(BOOST_MSVC) #pragma warning(disable: 4786) // identifier truncated in debug info #pragma warning(disable: 4710) // function not inlined @@ -162,3 +170,5 @@ int main() member_function_test(); return boost::report_errors(); } + +#endif diff --git a/test/bind_fastcall_test.cpp b/test/bind_fastcall_test.cpp index 2201716..b48c071 100644 --- a/test/bind_fastcall_test.cpp +++ b/test/bind_fastcall_test.cpp @@ -1,5 +1,13 @@ #include +#ifndef BOOST_MSVC + +int main() +{ +} + +#else + #if defined(BOOST_MSVC) #pragma warning(disable: 4786) // identifier truncated in debug info #pragma warning(disable: 4710) // function not inlined @@ -108,3 +116,5 @@ int main() function_test(); return boost::report_errors(); } + +#endif diff --git a/test/bind_stdcall_mf_test.cpp b/test/bind_stdcall_mf_test.cpp index 07aeab7..a7570c2 100644 --- a/test/bind_stdcall_mf_test.cpp +++ b/test/bind_stdcall_mf_test.cpp @@ -1,5 +1,13 @@ #include +#ifndef BOOST_MSVC + +int main() +{ +} + +#else + #if defined(BOOST_MSVC) #pragma warning(disable: 4786) // identifier truncated in debug info #pragma warning(disable: 4710) // function not inlined @@ -162,3 +170,5 @@ int main() member_function_test(); return boost::report_errors(); } + +#endif diff --git a/test/mem_fn_cdecl_test.cpp b/test/mem_fn_cdecl_test.cpp index ffe9723..ed5a47c 100644 --- a/test/mem_fn_cdecl_test.cpp +++ b/test/mem_fn_cdecl_test.cpp @@ -1,5 +1,13 @@ #include +#ifndef BOOST_MSVC + +int main() +{ +} + +#else + #if defined(BOOST_MSVC) #pragma warning(disable: 4786) // identifier truncated in debug info #pragma warning(disable: 4710) // function not inlined @@ -184,3 +192,5 @@ int main() return detect_errors(x.hash == 17610 && sp->hash == 2155); } + +#endif diff --git a/test/mem_fn_fastcall_test.cpp b/test/mem_fn_fastcall_test.cpp index e6248cb..b7a6ab3 100644 --- a/test/mem_fn_fastcall_test.cpp +++ b/test/mem_fn_fastcall_test.cpp @@ -1,5 +1,13 @@ #include +#ifndef BOOST_MSVC + +int main() +{ +} + +#else + #if defined(BOOST_MSVC) #pragma warning(disable: 4786) // identifier truncated in debug info #pragma warning(disable: 4710) // function not inlined @@ -184,3 +192,5 @@ int main() return detect_errors(x.hash == 17610 && sp->hash == 2155); } + +#endif diff --git a/test/mem_fn_stdcall_test.cpp b/test/mem_fn_stdcall_test.cpp index 6abb049..7f5645f 100644 --- a/test/mem_fn_stdcall_test.cpp +++ b/test/mem_fn_stdcall_test.cpp @@ -1,5 +1,13 @@ #include +#ifndef BOOST_MSVC + +int main() +{ +} + +#else + #if defined(BOOST_MSVC) #pragma warning(disable: 4786) // identifier truncated in debug info #pragma warning(disable: 4710) // function not inlined @@ -184,3 +192,5 @@ int main() return detect_errors(x.hash == 17610 && sp->hash == 2155); } + +#endif