Boost logo

Boost :

Subject: Re: [boost] Compilation error in boost::bind
From: Peter Dimov (pdimov_at_[hidden])
Date: 2009-06-17 15:19:51


Zachary Turner:
> The documentation for __stdcall in MSVC says the following:
>
> On Itanium Processor Family (IPF) and x64 processors, __stdcall is
> accepted and ignored by the compiler.
>
>
> Because of this, the following fragment from <boost/bind/bind.hpp>
> fails when causes build errors for either of these platforms:

...

> What would be the most robust way to fix this?

Not defining BOOST_BIND_ENABLE_STDCALL on x64?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk