MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0008716 | CMake | CMake | public | 2009-03-10 22:06 | 2016-06-10 14:30 |
| Reporter | mwoehlke | ||||
| Assigned To | Brad King | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | CMake-2-6 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0008716: AIX 5.1 xlC 6 build failure (CMake 2.6.3) | ||||
| Description | ...fails the bootstrap at Source/cmMakefile.cxx:2571. This construct: return cmsys::auto_ptr<cmFunctionBlocker>(b); ...is rejected (and the similar construct a few lines below). I had to replace it with: cmsys::auto_ptr<cmFunctionBlocker> r(b); return r; - and - cmsys::auto_ptr<cmFunctionBlocker> r; return r; | ||||
| Steps To Reproduce | |||||
| Additional Information | xlC -I/home/install/gnu/build/AIX/cmake-2.6.3/Source -I/home/install/gnu/build/AIX/cmake-2.6.3/Bootstrap.cmk -c /home/install/gnu/build/AIX/cmake-2.6.3/Source/cmMakefile.cxx-o cmMakefile.o "/home/install/gnu/build/AIX/cmake-2.6.3/Source/cmMakefile.cxx", line 2571.14: 1540-0296 (S) A return value of type "cmsys::auto_ptr<cmFunctionBlocker>" cannot be initialized with an rvalueof type "cmsys::auto_ptr<cmFunctionBlocker>". "/home/install/gnu/build/AIX/cmake-2.6.3/Source/cmMakefile.cxx", line 2571.14: 1540-0218 (I) The call does not match any parameter list for "auto_ptr<cmFunctionBlocker>::auto_ptr<cmFunctionBlocker>". "/home/install/gnu/build/AIX/cmake-2.6.3/Bootstrap.cmk/cmsys/auto_ptr.hxx", line 81.3: 1540-1283 (I) "cmsys::auto_ptr<class cmFunctionBlocker>::auto_ptr(auto_ptr<cmFunctionBlocker> &)" is not a viable candidate. "/home/install/gnu/build/AIX/cmake-2.6.3/Source/cmMakefile.cxx", line 2571.14: 1540-0295 (I) A parameter of type "cmsys::auto_ptr<cmFunctionBlocker> &" cannot be initialized with an rvalue of type "cmsys::auto_ptr<cmFunctionBlocker>". "/home/install/gnu/build/AIX/cmake-2.6.3/Source/cmMakefile.cxx", line 2571.14: 1540-1290 (I) An rvalue cannot be converted to a reference to a non-const type. "/home/install/gnu/build/AIX/cmake-2.6.3/Bootstrap.cmk/cmsys/auto_ptr.hxx", line 108.3: 1540-1283 (I) "cmsys::auto_ptr<class cmFunctionBlocker>::auto_ptr(auto_ptr<cmFunctionBlocker> &)" is not a viable candidate. "/home/install/gnu/build/AIX/cmake-2.6.3/Source/cmMakefile.cxx", line 2571.14: 1540-0295 (I) A parameter of type "cmsys::auto_ptr<cmFunctionBlocker> &" cannot be initialized with an rvalue of type "cmsys::auto_ptr<cmFunctionBlocker>". "/home/install/gnu/build/AIX/cmake-2.6.3/Source/cmMakefile.cxx", line 2571.14: 1540-1290 (I) An rvalue cannot be converted to a reference to a non-const type. "/home/install/gnu/build/AIX/cmake-2.6.3/Bootstrap.cmk/cmsys/auto_ptr.hxx", line 178.3: 1540-1283 (I) "cmsys::auto_ptr<class cmFunctionBlocker>::auto_ptr(detail::auto_ptr_ref<cmFunctionBlocker>)" is not a viable candidate. "/home/install/gnu/build/AIX/cmake-2.6.3/Source/cmMakefile.cxx", line 2571.14: 1540-0295 (I) A parameter of type "cmsys::detail::auto_ptr_ref<cmFunctionBlocker>" cannot be initialized with an rvalue of type "cmsys::auto_ptr<cmFunctionBlocker>". "/home/install/gnu/build/AIX/cmake-2.6.3/Bootstrap.cmk/cmsys/auto_ptr.hxx", line 81.3: 1540-1283 (I) "cmsys::auto_ptr<class cmFunctionBlocker>::auto_ptr(auto_ptr<cmFunctionBlocker> &)" is not a viable candidate. gmake: *** [cmMakefile.o] Error 1 | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2009-03-10 22:06 | mwoehlke | New Issue | |||
| 2009-03-10 22:24 | mwoehlke | Note Added: 0015640 | |||
| 2009-03-11 10:37 | Bill Hoffman | Status | new => assigned | ||
| 2009-03-11 10:37 | Bill Hoffman | Assigned To | => Brad King | ||
| 2012-08-13 10:37 | Brad King | Status | assigned => backlog | ||
| 2012-08-13 10:37 | Brad King | Note Added: 0030540 | |||
| 2016-06-10 14:27 | Kitware Robot | Note Added: 0041514 | |||
| 2016-06-10 14:27 | Kitware Robot | Status | backlog => resolved | ||
| 2016-06-10 14:27 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:30 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||