mirror of
https://github.com/boostorg/bind.git
synced 2025-08-08 17:24:37 +02:00
Include cc tests
This commit is contained in:
@@ -62,3 +62,11 @@ run bind_nested_rv_test.cpp ;
|
|||||||
compile arg_copy_test.cpp ;
|
compile arg_copy_test.cpp ;
|
||||||
compile-fail arg_copy_fail.cpp ;
|
compile-fail arg_copy_fail.cpp ;
|
||||||
run placeholder_std_bind_test.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 ;
|
||||||
|
@@ -1,5 +1,13 @@
|
|||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
|
|
||||||
|
#ifndef BOOST_MSVC
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
#if defined(BOOST_MSVC)
|
#if defined(BOOST_MSVC)
|
||||||
#pragma warning(disable: 4786) // identifier truncated in debug info
|
#pragma warning(disable: 4786) // identifier truncated in debug info
|
||||||
#pragma warning(disable: 4710) // function not inlined
|
#pragma warning(disable: 4710) // function not inlined
|
||||||
@@ -162,3 +170,5 @@ int main()
|
|||||||
member_function_test();
|
member_function_test();
|
||||||
return boost::report_errors();
|
return boost::report_errors();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
@@ -1,5 +1,13 @@
|
|||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
|
|
||||||
|
#ifndef BOOST_MSVC
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
#if defined(BOOST_MSVC)
|
#if defined(BOOST_MSVC)
|
||||||
#pragma warning(disable: 4786) // identifier truncated in debug info
|
#pragma warning(disable: 4786) // identifier truncated in debug info
|
||||||
#pragma warning(disable: 4710) // function not inlined
|
#pragma warning(disable: 4710) // function not inlined
|
||||||
@@ -162,3 +170,5 @@ int main()
|
|||||||
member_function_test();
|
member_function_test();
|
||||||
return boost::report_errors();
|
return boost::report_errors();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
@@ -1,5 +1,13 @@
|
|||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
|
|
||||||
|
#ifndef BOOST_MSVC
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
#if defined(BOOST_MSVC)
|
#if defined(BOOST_MSVC)
|
||||||
#pragma warning(disable: 4786) // identifier truncated in debug info
|
#pragma warning(disable: 4786) // identifier truncated in debug info
|
||||||
#pragma warning(disable: 4710) // function not inlined
|
#pragma warning(disable: 4710) // function not inlined
|
||||||
@@ -108,3 +116,5 @@ int main()
|
|||||||
function_test();
|
function_test();
|
||||||
return boost::report_errors();
|
return boost::report_errors();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
@@ -1,5 +1,13 @@
|
|||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
|
|
||||||
|
#ifndef BOOST_MSVC
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
#if defined(BOOST_MSVC)
|
#if defined(BOOST_MSVC)
|
||||||
#pragma warning(disable: 4786) // identifier truncated in debug info
|
#pragma warning(disable: 4786) // identifier truncated in debug info
|
||||||
#pragma warning(disable: 4710) // function not inlined
|
#pragma warning(disable: 4710) // function not inlined
|
||||||
@@ -162,3 +170,5 @@ int main()
|
|||||||
member_function_test();
|
member_function_test();
|
||||||
return boost::report_errors();
|
return boost::report_errors();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
@@ -1,5 +1,13 @@
|
|||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
|
|
||||||
|
#ifndef BOOST_MSVC
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
#if defined(BOOST_MSVC)
|
#if defined(BOOST_MSVC)
|
||||||
#pragma warning(disable: 4786) // identifier truncated in debug info
|
#pragma warning(disable: 4786) // identifier truncated in debug info
|
||||||
#pragma warning(disable: 4710) // function not inlined
|
#pragma warning(disable: 4710) // function not inlined
|
||||||
@@ -184,3 +192,5 @@ int main()
|
|||||||
|
|
||||||
return detect_errors(x.hash == 17610 && sp->hash == 2155);
|
return detect_errors(x.hash == 17610 && sp->hash == 2155);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
@@ -1,5 +1,13 @@
|
|||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
|
|
||||||
|
#ifndef BOOST_MSVC
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
#if defined(BOOST_MSVC)
|
#if defined(BOOST_MSVC)
|
||||||
#pragma warning(disable: 4786) // identifier truncated in debug info
|
#pragma warning(disable: 4786) // identifier truncated in debug info
|
||||||
#pragma warning(disable: 4710) // function not inlined
|
#pragma warning(disable: 4710) // function not inlined
|
||||||
@@ -184,3 +192,5 @@ int main()
|
|||||||
|
|
||||||
return detect_errors(x.hash == 17610 && sp->hash == 2155);
|
return detect_errors(x.hash == 17610 && sp->hash == 2155);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
@@ -1,5 +1,13 @@
|
|||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
|
|
||||||
|
#ifndef BOOST_MSVC
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
#if defined(BOOST_MSVC)
|
#if defined(BOOST_MSVC)
|
||||||
#pragma warning(disable: 4786) // identifier truncated in debug info
|
#pragma warning(disable: 4786) // identifier truncated in debug info
|
||||||
#pragma warning(disable: 4710) // function not inlined
|
#pragma warning(disable: 4710) // function not inlined
|
||||||
@@ -184,3 +192,5 @@ int main()
|
|||||||
|
|
||||||
return detect_errors(x.hash == 17610 && sp->hash == 2155);
|
return detect_errors(x.hash == 17610 && sp->hash == 2155);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
Reference in New Issue
Block a user