Boost logo

Boost :

From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2002-09-30 14:38:04


Hugo Duncan wrote:
> Bcc builder 6 with patch 2 applied appears to have problems
> with latest CVS version of mpl/if.
>
> Error E2270 c:\usr\boost\boost/mpl/if.hpp 158: > expected
> Error E2321 c:\usr\boost\boost/mpl/if.hpp 158: Declaration
> does not specify a tag or an identifier
>
> I notice that the log gives the message below, so I take it
> someone has already seen the problem:
>
> revision 1.6
> undo local Borland 5.6 changes

Hhm, the following condition in "boost/mpl/aux_/config/dtp.hpp"

#if defined(__MWERKS__) && __MWERKS__ <= 0x3001 \
 || defined(__BORLANDC__) && __BORLANDC__ <= 0x560
# define BOOST_NO_DEFAULT_TEMPLATE_PARAMETERS_IN_NESTED_TEMPLATES
#endif

should take care of it. Is there a chance that "patch 2" bumps up the
compiler version?

Aleksey


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