View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002020CMakeCMakepublic2005-07-05 18:252005-07-15 12:24
ReporterSean McBride 
Assigned ToBill Hoffman 
PriorityurgentSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002020: cmake 2.0.6 (latest on web) does not built on OS X/gcc 4
DescriptionThe error is:

Building object file cmDynamicLoader.o...
/Users/krs/src/cmake-2.0.6/Source/cmDynamicLoader.cxx: In static
member function
`static int cmDynamicLoader::CloseLibrary(void*)':
/Users/krs/src/cmake-2.0.6/Source/cmDynamicLoader.cxx:185: error:
invalid conver
sion from 'void*' to '__NSModule*'
/Users/krs/src/cmake-2.0.6/Source/cmDynamicLoader.cxx:185: error:
initializing
argument 1 of 'bool NSUnLinkModule(__NSModule*, uint32_t)'
make[3]: *** [cmDynamicLoader.o] Error 1
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Source] Error 2
make: *** [default_target] Error 2
administrators-Computer-3.local%


I have attached the trivial fix.
TagsNo tags attached.
Attached Filescxx file icon cmDynamicLoader.cxx [^] (8,329 bytes) 1969-12-31 19:00

 Relationships

  Notes
(0002619)
Sean McBride (reporter)
2005-07-12 11:36

This is actually a duplicate of 1690. 1690 claims the problem is fixed, but it is not in fact.
(0002639)
Bill Hoffman (manager)
2005-07-13 09:17

The 2.0 branch is closed now, does this work with 2.2.0?
(0002677)
Sean McBride (reporter)
2005-07-15 10:04

The bug is in the circa July 8 2005 code I took from cvs. Just check cmDynamicLoader.cxx, the method cmDynamicLoader::CloseLibrary. If you diff with the attached file, you will see all is needed is a simple cast. See also:
http://public.kitware.com/pipermail/vtkusers/2005-July/080654.html [^]
(0002678)
Sean McBride (reporter)
2005-07-15 10:16

i just checked cvs, and the bug still is there.

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team