Closed GoogleCodeExporter closed 8 years ago
I saw the warning when compiling AbcImport and AbcExport.
Manually adding an "operator =()" would fix the warning.
Original comment by shinc...@gmail.com
on 23 Oct 2012 at 9:23
After you added that operator were there any other warnings?
Original comment by miller.lucas
on 23 Oct 2012 at 4:21
I added "const Argument& operator= (const Argument&);" to the private section
of Argument class. C4512 is gone.
There are 5 cast warnings left:
...\AbcImport\AlembicNode.cpp(347) : warning C4244: '=' : conversion from
'double' to 'float', possible loss of data
...\AbcImport\AlembicNode.cpp(414) : warning C4244: 'argument' : conversion
from 'const double' to 'float', possible loss of data
...\AbcImport\CreateSceneHelper.cpp(204) : warning C4267: 'argument' :
conversion from 'size_t' to 'unsigned int', possible loss of data
...\AbcImport\CreateSceneHelper.cpp(280) : warning C4267: 'argument' :
conversion from 'size_t' to 'unsigned int', possible loss of data
...\AbcExport\MayaNurbsCurveWriter.cpp(280) : warning C4244: 'argument' :
conversion from 'double' to 'const float', possible loss of data
Thanks!
Original comment by shinc...@gmail.com
on 25 Oct 2012 at 3:01
Hopefully these 2 will reduce the warnings:
http://code.google.com/r/millerlucas-dev/source/detail?r=2a3c9b7b281fa8ff9f426d5
8b8ea43cf531cd65d
http://code.google.com/r/millerlucas-dev/source/detail?r=1b9b1e0b74a073fc3b118eb
3115bb750df0da836
Original comment by miller.lucas
on 20 Nov 2012 at 12:38
Original comment by miller.lucas
on 14 Feb 2013 at 9:08
Original issue reported on code.google.com by
shinc...@gmail.com
on 23 Oct 2012 at 9:17