mirror of
https://github.com/boostorg/function_types.git
synced 2026-01-19 04:12:10 +00:00
- nonstandard calling conventions need to be enabled now
- using #ifdef ... #error to detect whether test makes sense for a particular compiler [SVN r40798]
This commit is contained in:
@@ -6,11 +6,17 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
#define BOOST_FT_AUTODETECT_CALLING_CONVENTIONS
|
||||
|
||||
#include <boost/mpl/assert.hpp>
|
||||
#include <boost/mpl/vector.hpp>
|
||||
#include <boost/function_types/member_function_pointer.hpp>
|
||||
#include <boost/function_types/is_callable_builtin.hpp>
|
||||
|
||||
#ifndef BOOST_FT_CC_STDCALL
|
||||
# error "test not supported with this compiler"
|
||||
#endif
|
||||
|
||||
namespace ft = boost::function_types;
|
||||
namespace mpl = boost::mpl;
|
||||
|
||||
|
||||
@@ -6,11 +6,17 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
#define BOOST_FT_AUTODETECT_CALLING_CONVENTIONS
|
||||
|
||||
#include <boost/mpl/assert.hpp>
|
||||
#include <boost/mpl/vector.hpp>
|
||||
#include <boost/function_types/member_function_pointer.hpp>
|
||||
#include <boost/function_types/is_callable_builtin.hpp>
|
||||
|
||||
#ifndef BOOST_FT_CC_STDCALL
|
||||
# error "test not supported with this compiler"
|
||||
#endif
|
||||
|
||||
namespace ft = boost::function_types;
|
||||
namespace mpl = boost::mpl;
|
||||
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
#define BOOST_FT_AUTODETECT_CALLING_CONVENTIONS
|
||||
|
||||
#include <boost/mpl/assert.hpp>
|
||||
#include <boost/mpl/vector.hpp>
|
||||
#include <boost/function_types/function_type.hpp>
|
||||
@@ -13,6 +15,10 @@
|
||||
#include <boost/function_types/function_reference.hpp>
|
||||
#include <boost/function_types/is_callable_builtin.hpp>
|
||||
|
||||
#ifndef BOOST_FT_CC_STDCALL
|
||||
# error "test not supported with this compiler"
|
||||
#endif
|
||||
|
||||
namespace ft = boost::function_types;
|
||||
namespace mpl = boost::mpl;
|
||||
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
#define BOOST_FT_AUTODETECT_CALLING_CONVENTIONS
|
||||
|
||||
#include <boost/mpl/assert.hpp>
|
||||
#include <boost/mpl/vector.hpp>
|
||||
#include <boost/function_types/function_type.hpp>
|
||||
@@ -13,6 +15,10 @@
|
||||
#include <boost/function_types/function_reference.hpp>
|
||||
#include <boost/function_types/is_callable_builtin.hpp>
|
||||
|
||||
#ifndef BOOST_FT_CC_STDCALL
|
||||
# error "test not supported with this compiler"
|
||||
#endif
|
||||
|
||||
namespace ft = boost::function_types;
|
||||
namespace mpl = boost::mpl;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user