
John Maddock ha escrito:
I've started working through bimap in preparation for a review, but I'm having a few problems with the source:
[...]
There are a few warnings as well that look suspicious to me:
c:\data\boost\develop\boost\boost\multi_index\detail\ord_index_node.hpp(127) : warning C4312: 'type cast' : conversion from 'boost::multi_index::detail::uintptr_type' to 'void *' of greater size c:\data\boost\develop\boost\boost\multi_index\detail\ord_index_node.hpp(132) : warning C4311: 'type cast' : pointer truncation from 'void *' to 'boost::multi_index::detail::uintptr_type' c:\data\boost\develop\boost\boost\multi_index\detail\ord_index_node.hpp(159) : warning C4312: 'type cast' : conversion from 'const boost::multi_index::detail::uintptr_type' to 'void *' of greater size
Are you using /Wp64? If so, I think the warnings are a case of the compiler being too dumb about 32-to-64 correctness checks, please see the first part of: http://lists.boost.org/boost-users/2006/03/18075.php If you're not using /Wp64 please let me know. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo