[cmake-developers] [CMake 0012233]: Minor C++ error in cmCPluginAPI.cxx with g++ 2.9-aix51-020209
Mantis Bug Tracker
mantis at public.kitware.com
Sun May 29 00:28:02 EDT 2011
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=12233
======================================================================
Reported By: Daniel R. Gomez
Assigned To:
======================================================================
Project: CMake
Issue ID: 12233
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2011-05-29 00:28 EDT
Last Modified: 2011-05-29 00:28 EDT
======================================================================
Summary: Minor C++ error in cmCPluginAPI.cxx with g++
2.9-aix51-020209
Description:
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 at 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
Additional Information:
This is trivially fixed. See the attached patch against the 2.8.4 source.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-05-29 00:28 Daniel R. GomezNew Issue
2011-05-29 00:28 Daniel R. GomezFile Added: cmake-aix32-fix.patch
======================================================================
More information about the cmake-developers
mailing list