Opened 10 years ago

Last modified 10 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:

Description

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 by viboes, 10 years ago

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