MantisBT - CMake
View Issue Details
0014605CMakeCMakepublic2013-11-28 03:502014-06-02 08:37
Flynn Marquardt 
Brad King 
normalminoralways
closedfixed 
CMake 2.8.12 
CMake 3.0CMake 3.0 
0014605: Cross compiling/linking with MSVC on linux using wine fails
On posix platforms return values are limited to a range from 0 to 255. Cross compiling/linking with MSVC on linux/wine leads to a misinterpretation of the return value 1090650113 of mt.exe.

The supplied patch solves this.

The original problem was not detected and solved by me, it was taken from https://code.google.com/p/wrapmsvc/. [^]
No tags attached.
patch cmake-mt-return-value.patch (472) 2013-11-28 03:50
https://public.kitware.com/Bug/file/4983/cmake-mt-return-value.patch
Issue History
2013-11-28 03:50Flynn MarquardtNew Issue
2013-11-28 03:50Flynn MarquardtFile Added: cmake-mt-return-value.patch
2013-12-02 10:20Brad KingNote Added: 0034670
2013-12-02 10:20Brad KingAssigned To => Brad King
2013-12-02 10:20Brad KingStatusnew => resolved
2013-12-02 10:20Brad KingResolutionopen => fixed
2013-12-02 10:20Brad KingFixed in Version => CMake 3.0
2013-12-02 10:20Brad KingTarget Version => CMake 3.0
2014-06-02 08:37Robert MaynardNote Added: 0036046
2014-06-02 08:37Robert MaynardStatusresolved => closed

Notes
(0034670)
Brad King   
2013-12-02 10:20   
Thanks. The relevant code has moved to another file in post-2.8.12 development so I ported the patch and applied it:

cmake: Fix mt return value when hosted on posix
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d384b5aa [^]
(0036046)
Robert Maynard   
2014-06-02 08:37   
Closing resolved issues that have not been updated in more than 4 months.