From: Mac Murrett (mmurrett_at_[hidden])
Date: 2001-11-19 01:12:15
> #if defined(BOOST_BIND_ENABLE_PASCAL)
> #define BOOST_BIND_CC pascal
> #include <boost/bind/bind_cc.hpp>
> #undef BOOST_BIND_CC
Oops... this doesn't compile -- the "pascal" has to be before the
Instead, how about this...
#define BOOST_BIND_ST pascal
... coupled with a find-and-replace of "R (BOOST_BIND_CC *" with
"BOOST_BIND_ST R (BOOST_BIND_CC *" in bind_cc.hpp, and of course empty
#defines of BOOST_BIND_ST for the other includes of bind_cc.hpp. This,
unlike the easier suggestion I previously suggested, actually compiles and
I will provide a diff for this if requested.
PS - rationale for the name BOOST_BIND_ST is Boost Bind Stack Type.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk