Boost logo

Boost Users :

Subject: Re: [Boost-users] Problems in CodeGear
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-12-29 22:21:34


AMDG

On 12/17/2010 5:14 PM, jose perez wrote:
> Thanks very much for your help.
> Well, I have added this:
>
> #if !defined(BOOST_NO_SFINAE)&& !defined(__CODEGEARC__) // curru
>
> and the compiler does not produce the error anymore (so your suggestion was ok)
> but many other errors arise. The first one is:
>
> [BCC32 Error] has_key_impl.hpp(51): E2285 Could not find a match for
> 'aux::ptr_to_ref<T>(Set *)'
>
> in line
>
> : bool_<
> ( sizeof( BOOST_MPL_AUX_OVERLOAD_CALL_IS_MASKED(
> Set
> , BOOST_MPL_AUX_STATIC_CAST(aux::type_wrapper<T>*, 0)
> ) ) == sizeof(aux::no_tag) )
> >

This is in MPL. It looks like the same error as
http://www.boost.org/development/tests/trunk/developer/output/codegear-boost-bin-v2-libs-mpl-test-set-test-borland-cb2010-debug.html
This happens with just #include <boost/random/mersenne_twister.hpp>?

I see a note that says:
[ Aleksey Gurtovoy 17 Sep 2004 ] This is an advanced functionality that
hasn't been ported to the deficient compilers (yet). Patches are welcome!

Is there a way to get more information out of the compiler?
I'd like to see a #include backtrace and a template instantiation
backtrace to figure out where the dependency on mpl::set
comes from.

In Christ,
Steven Watanabe


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net