View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012245CMakeCMakepublic2011-06-04 03:042012-01-02 15:56
Reporterd3x0r 
Assigned ToDavid Cole 
PriorityurgentSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
Platformwindows 7OSwindowsOS Version7
Product VersionCMake 2.8.4 
Target VersionCMake 2.8.6Fixed in VersionCMake 2.8.6 
Summary0012245: Watcom WLIB Needs case sensitive option
DescriptionWLIB does not generate proper exports if two routines have the same spelling and different cases (like Scale and scale).

wlib has a -c option which makes it respect case when building the export library from the dll.


SET(CMAKE_C_CREATE_IMPORT_LIBRARY
- "wlib -q -n -b <TARGET_IMPLIB> +'<TARGET_UNQUOTED>'")
SET(CMAKE_C_CREATE_IMPORT_LIBRARY
+ "wlib -c -q -n -b <TARGET_IMPLIB> +'<TARGET_UNQUOTED>'")

and

-SET(CMAKE_CXX_CREATE_STATIC_LIBRARY "wlib ${CMAKE_LIB_QUIET} -n -b '<TARGET_UNQUOTED>' <LINK_FLAGS> <OBJECTS> ")

+SET(CMAKE_CXX_CREATE_STATIC_LIBRARY "wlib ${CMAKE_LIB_QUIET} -c -n -b '<TARGET_UNQUOTED>' <LINK_FLAGS> <OBJECTS> ")


(ie - find 'wlib' in modules/platform/Windows-wcl386.cmake and insert a -c option; it occurs in two places.... working on checking out the source to attach a proper diff.
Steps To Reproduce(should be apparent)
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0027121)
David Cole (manager)
2011-07-29 15:00

Fix pushed to CMake 'next' with this commit:

  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a0974ae2e69052e343764ddb93749739b7674977 [^]
(0028112)
David Cole (manager)
2012-01-02 15:56

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2011-06-04 03:04 d3x0r New Issue
2011-07-29 08:51 David Cole Assigned To => David Cole
2011-07-29 08:51 David Cole Status new => assigned
2011-07-29 11:38 David Cole Target Version => CMake 2.8.6
2011-07-29 11:38 David Cole Description Updated
2011-07-29 15:00 David Cole Note Added: 0027121
2011-07-29 15:00 David Cole Status assigned => resolved
2011-07-29 15:00 David Cole Fixed in Version => CMake 2.8.6
2011-07-29 15:00 David Cole Resolution open => fixed
2012-01-02 15:56 David Cole Note Added: 0028112
2012-01-02 15:56 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team