From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2003-06-23 08:07:51
Eric Friedman wrote:
> Aleksey (and all),
> In working on porting boost::variant to Borland, I've come across some
> trouble with a bug in the compiler.
> Specfically, I'm getting "Cannot have both a template class and
> function named 'bind1st'" and similarly for bind2nd. I know other MPL
> headers use BOOST_MPL_AUX_COMMON_NAME_WKND to work around this bogus
Fixed in the CVS now.
> I'd apply the patch myself, but due to the heavy use of preprocessed
> headers, I'm worried I won't get it completely right. So I'll leave it
> up to Aleksey (or others) to fix.
I've checked in some missing pieces for the preprocessed headers
generation, so if somebody feels like doing a similar fix herself in
future, she can easily do it - assuming she has Python and gcc
installed. See "libs/mpl/preprocessed/preprocess.py" blurb for the
Thanks for the report,
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk