Description
I am attempting to build v3.8 using MSVC and CMake.
The build fails due to the MockSupport_cTestCFile.c. file. Here is the build output:
Building C object tests/CppUTestExt/CMakeFiles/CppUTestExtTests.dir/MockSupport_cTestCFile.c.obj MockSupport_cTestCFile.c C:\cpputest\tests\CppUTestExt\MockSupport_cTestCFile.c(103): error C2220: the following warning is treated as an error C:\cpputest\tests\CppUTestExt\MockSupport_cTestCFile.c(103): warning C4244: 'function': conversion from 'double' to 'unsigned int', possible loss of data C:\cpputest\tests\CppUTestExt\MockSupport_cTestCFile.c(107): warning C4244: 'function': conversion from 'double' to 'long', possible loss of data C:\cpputest\tests\CppUTestExt\MockSupport_cTestCFile.c(111): warning C4244: 'function': conversion from 'double' to 'unsigned long', possible loss of data
Incidentally, this was fixed with #1015, but over written with commit 83658bb.