Opened 6 years ago

Last modified 6 years ago

#7186 new Feature Requests

BOOST_BIND_ENABLE_STDCALL causes bind compilation to fail on x64

Reported by: mitmit@… Owned by: Peter Dimov
Milestone: To Be Determined Component: bind
Version: Boost 1.51.0 Severity: Problem
Keywords: Cc:


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.

Change History (1)

comment:1 Changed 6 years ago by viboes

Component: Nonebind
Owner: set to Peter Dimov
Note: See TracTickets for help on using tickets.