| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| 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; | ||||||||
| 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. | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0015640) mwoehlke (developer) 2009-03-10 22:24 |
Source/kwsys/testAutoPtr.cxx has the same problem, but I am not sure how to fix it. I applied the same change to generate_auto_ptr_A and generate_auto_ptr_B which works around some errors, but I get the same error regarding function_call and am unsure how to work around it, so I had to disable (#if 0) those parts of the test. |
|
(0030540) Brad King (manager) 2012-08-13 10:37 |
Sending issues I'm not actively working on to the backlog to await someone with time for them. If an issue you care about is sent to the backlog when you feel it should have been addressed in a different manner, please bring it up on the CMake mailing list for discussion. Sign up for the mailing list here, if you're not already on it: http://www.cmake.org/mailman/listinfo/cmake [^] It's easy to re-activate a bug here if you can find a CMake developer or contributor who has the bandwidth to take it on. |
|
(0041514) Kitware Robot (administrator) 2016-06-10 14:27 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
| Notes |
| 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 |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |