MantisBT - CMake
View Issue Details
0012233CMakeCMakepublic2011-05-29 00:282011-11-11 10:45
Daniel Richard G. 
Brad King 
normalminoralways
closedfixed 
PowerPCAIX4.3
CMake 2.8.4 
CMake 2.8.5CMake 2.8.5 
0012233: Minor C++ error in cmCPluginAPI.cxx with g++ 2.9-aix51-020209
Building CMake on AIX 4.3 with the bundled (old) version of GCC led to the following error:

[ 59%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmCommands.o
cd /tmp/cmake-build/Source && /usr/bin/g++ -DCURL_STATICLIB -DLIBARCHIVE_STATIC -DCMAKE_BUILD_WITH_CMAKE -I/tmp/cmake-build/Utilities -I/home/src/cmake-2.8.4/Utilities -I/tmp/cmake-build/Source -I/home/src/cmake-2.8.4/Source -I/tmp/cmake-build/Utilities/cmcompress -I/home/src/cmake-2.8.4/Source/CTest -I/home/src/cmake-2.8.4/Source/CursesDialog/form -I/tmp/cmake-build/Source/CursesDialog/form -o CMakeFiles/CMakeLib.dir/cmCommands.o -c /home/src/cmake-2.8.4/Source/cmCommands.cxx
In file included from /home/src/cmake-2.8.4/Source/cmLoadCommandCommand.cxx:14,
                 from /home/src/cmake-2.8.4/Source/cmCommands.cxx:43:
/home/src/cmake-2.8.4/Source/cmCPluginAPI.cxx:933: cannot convert `void *(*) (...)' to `void *(*) ()' in initialization
gmake[2]: *** [Source/CMakeFiles/CMakeLib.dir/cmCommands.o] Error 1
gmake[2]: Leaving directory `/tmp/cmake-build'
gmake[1]: *** [Source/CMakeFiles/CMakeLib.dir/all] Error 2
gmake[1]: Leaving directory `/tmp/cmake-build'
gmake: *** [all] Error 2

user@host:~/tmp> g++ -v
Reading specs from /usr/bin/../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix51-020209/specs
gcc version 2.9-aix51-020209
This is trivially fixed. See the attached patch against the 2.8.4 source.
No tags attached.
patch cmake-aix32-fix.patch (446) 2011-05-29 00:28
https://public.kitware.com/Bug/file/3905/cmake-aix32-fix.patch
Issue History
2011-05-29 00:28Daniel Richard G.New Issue
2011-05-29 00:28Daniel Richard G.File Added: cmake-aix32-fix.patch
2011-06-18 07:44David ColeAssigned To => Brad King
2011-06-18 07:44David ColeStatusnew => resolved
2011-06-18 07:44David ColeResolutionopen => fixed
2011-06-18 07:44David ColeFixed in Version => CMake 2.8.5
2011-06-18 07:44David ColeTarget Version => CMake 2.8.5
2011-11-11 10:45David ColeNote Added: 0027772
2011-11-11 10:45David ColeStatusresolved => closed

Notes
(0027772)
David Cole   
2011-11-11 10:45   
Closing resolved issues that have not been updated in more than 4 months.