Opened 5 years ago

Last modified 5 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.

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by viboes

Component: Nonebind
Owner: set to Peter Dimov

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain Peter Dimov.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.