所以根据这个链接: http://boost.2283326.n4.nabble.com/1-34-0-Python-Type-Conversion-Wanring-td2624877.html在boost / python / caller.hpp中生成警告:
C:\Boost\include\boost-1_60\boost/python/detail/caller.hpp(55): warning C4244:
'return': conversion from 'Py_ssize_t' to 'unsigned int', possible loss of data
应在boost库的1.34版之后解决。但正如您从我的项目的复制警告中可以看到我使用boost 1.6并仍然得到此警告。所有改变的是它出现的线(52-> 55)。
版本1.6是否解决了此问题?