
Hello, Steven. This is the parser: [BCC32 Error] has_key_impl.hpp(51): E2285 Could not find a match for 'aux::ptr_to_ref<T>(Set *)' Full parser context lasreader.cpp(44): #include C:\Software\Lib\LIDAR\liblas\libLAS-1.6.0b3\include\liblas\lasreader.hpp lasreader.hpp(46): #include C:\Software\Lib\LIDAR\liblas\libLAS-1.6.0b3\include\liblas/lasheader.hpp lasheader.hpp(47): #include C:\Software\Lib\LIDAR\liblas\libLAS-1.6.0b3\include\liblas/lasbounds.hpp lasbounds.hpp(46): #include C:\Software\Lib\LIDAR\liblas\libLAS-1.6.0b3\include\liblas/laspoint.hpp laspoint.hpp(50): #include C:\Software\Lib\LIDAR\liblas\libLAS-1.6.0b3\include\liblas/external/property_tree/ptree.hpp ptree.hpp(21): #include C:\Software\Lib\boost\boost_1_42_0\boost/multi_index_container.hpp multi_index_container.hpp(30): #include C:\Software\Lib\boost\boost_1_42_0\boost/multi_index_container_fwd.hpp multi_index_container_fwd.hpp(19): #include C:\Software\Lib\boost\boost_1_42_0\boost/multi_index/ordered_index_fwd.hpp ordered_index_fwd.hpp(16): #include C:\Software\Lib\boost\boost_1_42_0\boost/multi_index/detail/ord_index_args.hpp ord_index_args.hpp(21): #include C:\Software\Lib\boost\boost_1_42_0\boost/multi_index/tag.hpp tag.hpp(17): #include C:\Software\Lib\boost\boost_1_42_0\boost/multi_index/detail/no_duplicate_tags.hpp no_duplicate_tags.hpp(18): #include C:\Software\Lib\boost\boost_1_42_0\boost/mpl/set/set0.hpp set0.hpp(18): #include C:\Software\Lib\boost\boost_1_42_0\boost/mpl/set/aux_/at_impl.hpp at_impl.hpp(18): #include C:\Software\Lib\boost\boost_1_42_0\boost/mpl/set/aux_/has_key_impl.hpp has_key_impl.hpp(28): namespace boost has_key_impl.hpp(28): namespace mpl has_key_impl.hpp(32): class has_key_impl<aux::set_tag> has_key_impl.hpp(47): class has_key_impl<aux::set_tag>::apply<Set,T> I don't know how to give you a template instantiation backtrace... Thanks! ________________________________ De: Steven Watanabe <watanabesj@gmail.com> Para: boost-users@lists.boost.org Enviado: jue,30 diciembre, 2010 04:21 Asunto: Re: [Boost-users] Problems in CodeGear 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... 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 mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users