[cmake-developers] [CMake 0012245]: Watcom WLIB Needs case sensitive option

Mantis Bug Tracker mantis at public.kitware.com
Sat Jun 4 03:04:13 EDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=12245 
====================================================================== 
Reported By:                d3x0r
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12245
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   urgent
Status:                     new
====================================================================== 
Date Submitted:             2011-06-04 03:04 EDT
Last Modified:              2011-06-04 03:04 EDT
====================================================================== 
Summary:                    Watcom WLIB Needs case sensitive option
Description: 

WLIB 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)
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-06-04 03:04 d3x0r          New Issue                                    
======================================================================




More information about the cmake-developers mailing list