Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

CMake build failing #1282

Copy link
Copy link
Closed
Closed
Copy link
@dipakgmx

Description

@dipakgmx
Issue body actions

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.