![]() |
【转帖】setdeviation Warnings
setdeviation warnings
setdeviation warnings hi, i want to vectorize certain entities but when i set the deviation like so: odgedoublearray devs(5,1); devs.insert(devs.end(), 5, 0.5); odgigeometrysimplifier::setdeviation(devs); i get these warnings: \include\odarray.h(874) : warning c4244: 'initializing' : conversion from '__w64 int' to 'unsigned int', possible loss of data \include\odarray.h(872) : while compiling class template member function 'double *odarray<t,a>::insert(double *,unsigned int,const t &)' with [ t=double, a=odmemoryallocator<double> ] include\ge\gecurve3d.h(666) : see reference to class template instantiation 'odarray<t,a>' being compiled with [ t=double, a=odmemoryallocator<double> ] the line causing this is: devs.insert(devs.end(), 5, 0.5); iterator odarray::insert( iterator before, size_type numelements, const t& value) does anybody know what is wrong? vortex. these warnings still happen although deviation is now working. |
所有的时间均为北京时间。 现在的时间是 01:44 AM. |