
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_implaux::set_tag
has_key_impl.hpp(47): class has_key_implaux::set_tag::apply
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