Open slayoo opened 6 years ago
Yes... a bunch of casts need to be added to the code. We can play whack a molde, but maybe there’s a way to do it systematically?
On Tue, Jun 26, 2018 at 3:08 AM Sylwester Arabas notifications@github.com wrote:
C:\projects\blitz-nh158\random/mt.h(183): warning C4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data [C:\projects\blitz-nh158\blitz\blitz.vcxproj] C:\projects\blitz-nh158\random/mt.h(202): warning C4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data [C:\projects\blitz-nh158\blitz\blitz.vcxproj] C:\projects\blitz-nh158\random/mt.h(210): warning C4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data [C:\projects\blitz-nh158\blitz\blitz.vcxproj] C:\projects\blitz-nh158\blitz/range.h(247): warning C4244: 'return' : conversion from 'const blitz::diffType' to 'int', possible loss of data [C:\projects\blitz-nh158\Blitz-Testsuite\ABA1\ABA1.vcxproj] C:\projects\blitz-nh158\blitz/range.cc(13): warning C4244: 'return' : conversion from 'const blitz::diffType' to 'blitz::Range::T_numtype', possible loss of data [C:\projects\blitz-nh158\Blitz-Testsuite\ABA1\ABA1.vcxproj] C:\projects\blitz-nh158\blitz/array/methods.cc(314): warning C4267: '=' : conversion from 'size_t' to 'int', possible loss of data [C:\projects\blitz-nh158\Blitz-Testsuite\ABA1\ABA1.vcxproj] C:\projects\blitz-nh158\blitz/array/fastiter.h(199): warning C4244: 'return' : conversion from 'blitz::diffType' to 'int', possible loss of data [C:\projects\blitz-nh158\Blitz-Testsuite\ABA1\ABA1.vcxproj] C:\projects\blitz-nh158\blitz/array/fastiter.h(252): warning C4244: 'return' : conversion from 'const blitz::diffType' to 'int', possible loss of data [C:\projects\blitz-nh158\Blitz-Testsuite\ABA1\ABA1.vcxproj]
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/blitzpp/blitz/issues/41, or mute the thread https://github.com/notifications/unsubscribe-auth/AB1cd_FcTDZMK0OFRwiQWelmRgUbGxbaks5uAd31gaJpZM4U3W_n .