
Hi all, It's the first time I tried multi_index and format. I have to say that they are so powerful that I love them from the beginning! Nonetheless, when I enabled /Wp64 on my MSVC71 compiler, the headers gave me a lot of problems regarding possible pointer truncations (and sometimes default c'tor problems). The relevant warnings are something like the following: ==== snip <multi_index> ===== ..\..\..\boost-1.x\include\boost-1_34\boost\multi_index\detail\ord_index_node.hpp(129) : warning C4312: 'type cast' : conversion from 'boost::multi_index::detail::uintptr_type' to 'void *' of greater size ..\..\..\boost-1.x\include\boost-1_34\boost\multi_index\detail\ord_index_node.hpp(134) : warning C4311: 'type cast' : pointer truncation from 'void *' to 'boost::multi_index::detail::uintptr_type' ..\..\..\boost-1.x\include\boost-1_34\boost\multi_index\detail\ord_index_node.hpp(161) : warning C4312: 'type cast' : conversion from 'const boost::multi_index::detail::uintptr_type' to 'void *' of greater size ..\..\..\boost-1.x\include\boost-1_34\boost\multi_index\detail\ord_index_node.hpp(509) : warning C4610: struct 'boost::multi_index::detail::ordered_index_node_impl' can never be instantiated - user defined constructor required ..\..\..\boost-1.x\include\boost-1_34\boost\multi_index\detail\ord_index_node.hpp(512) : warning C4510: 'boost::multi_index::detail::ordered_index_node_trampoline<Super>' : default constructor could not be generated ..\..\..\boost-1.x\include\boost-1_34\boost\multi_index\detail\ord_index_node.hpp(562) : warning C4510: 'boost::multi_index::detail::ordered_index_node<Super>' : default constructor could not be generated ===== snip ===== ===== snip <format> ===== ..\..\..\boost-1.x\include\boost-1_34\boost\format\alt_sstream_impl.hpp(110) : warning C4244: 'argument' : conversion from 'boost::io::basic_altstringbuf<Ch,Tr,Alloc>::off_type' to 'int', possible loss of data ..\..\..\boost-1.x\include\boost-1_34\boost\format\feed_args.hpp(98) : warning C4244: 'argument' : conversion from 'const stlpd_std::iterator_traits<_Iterator>::difference_type' to 'int', possible loss of data ..\..\..\boost-1.x\include\boost-1_34\boost\format\feed_args.hpp(53) : warning C4244: 'argument' : conversion from 'stlpd_std::streamsize' to 'stlpd_std::basic_string<_CharT,_Traits,_Alloc>::size_type', possible loss of data ===== snip ===== So I just wonder if both of these libraries have any plan on considering this issue? I really love these libraries, and I want to integrate them into our future product. But if the 64-bit portability issues are not solved, I'm afraid I'll have some problem pursuading the managers. Cheers, Freddie -- Wu Yinghui, Freddie Research & Development Software Engineer Volume Interactions Pte Ltd 1 Kim Seng Promenade, #12-01 Great World City East Tower Singapore 237994 Tel: +65 62226962 (Ext 216) Fax: +65 62226215 Email: yhwu@volumeinteractions.com URL: http://www.volumeinteractions.com Important: This message is intended for the recipient(s) addressed above. It contains privileged and confidential information. If you are not the intended recipient, please notify the sender immediately by replying to this message and then delete it from your system. You must not read, copy, use, or disseminate this communication in any form. Thank you.