[Boost-bugs] [Boost C++ Libraries] #7186: BOOST_BIND_ENABLE_STDCALL causes bind compilation to fail on x64

Subject: [Boost-bugs] [Boost C++ Libraries] #7186: BOOST_BIND_ENABLE_STDCALL causes bind compilation to fail on x64
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-07-31 17:08:12


#7186: BOOST_BIND_ENABLE_STDCALL causes bind compilation to fail on x64
------------------------------+---------------------------------------------
 Reporter: mitmit@… | Type: Feature Requests
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.51.0
 Severity: Problem | Keywords:
------------------------------+---------------------------------------------
 On Win32, in order to use WINAPI ( = !__stdcall) functions with boost,
 developers must define BOOST_BIND_ENABLE_STDCALL before including bind.hpp

 On Win64 however, !__stdcall and !__cdecl are equivalent. When the macro
 BOOST_BIND_ENABLE_STDCALL is defined, bind.hpp fails compilation for
 multiply defined functions.

 This request is that the macro BOOST_BIND_ENABLE_STDCALL will only be
 effective is possible.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7186>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC