build(windows): C4244 `int` to `float` conversion warning
niketa282 opened this issue · 2 comments
niketa282 commented
Description
While executing msbuild ./VCU-GUI.sln on windows 27 warnings observed
warning C4244: 'initializing': conversion from 'int' to 'float', possible loss of data
t-bre commented
Build log:
t-bre commented
I think we can safely suppress most of these warnings, in whatever way we choose to. In most cases these are int
-> float
narrowing conversions relating to GUI code and the integer values from GUI dimensions are never going to be big enough to cause a problem.