View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012233CMakeCMakepublic2011-05-29 00:282011-11-11 10:45
ReporterDaniel Richard G. 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformPowerPCOSAIXOS Version4.3
Product VersionCMake 2.8.4 
Target VersionCMake 2.8.5Fixed in VersionCMake 2.8.5 
Summary0012233: Minor C++ error in cmCPluginAPI.cxx with g++ 2.9-aix51-020209
DescriptionBuilding 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
Additional InformationThis is trivially fixed. See the attached patch against the 2.8.4 source.
TagsNo tags attached.
Attached Filespatch file icon cmake-aix32-fix.patch [^] (446 bytes) 2011-05-29 00:28 [Show Content]

 Relationships

  Notes
(0027772)
David Cole (manager)
2011-11-11 10:45

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

 Issue History
Date Modified Username Field Change
2011-05-29 00:28 Daniel Richard G. New Issue
2011-05-29 00:28 Daniel Richard G. File Added: cmake-aix32-fix.patch
2011-06-18 07:44 David Cole Assigned To => Brad King
2011-06-18 07:44 David Cole Status new => resolved
2011-06-18 07:44 David Cole Resolution open => fixed
2011-06-18 07:44 David Cole Fixed in Version => CMake 2.8.5
2011-06-18 07:44 David Cole Target Version => CMake 2.8.5
2011-11-11 10:45 David Cole Note Added: 0027772
2011-11-11 10:45 David Cole Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team