View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015318 | CMake | CMake | public | 2014-12-18 11:14 | 2015-05-04 09:05 | ||||
Reporter | Fritz H | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | Solaris | OS Version | 10 | |||||
Product Version | CMake 3.1 | ||||||||
Target Version | CMake 3.1.1 | Fixed in Version | CMake 3.1.1 | ||||||
Summary | 0015318: cmComputeLinkDepends.cxx fils to compile | ||||||||
Description | os: solaris 10, compiler: sunstudio 12.1 file Source/cmComputeLinkDepends.cxx fails to compile, error: line 270: Error: Cannot use std::reverse_iterator<int*, std::random_access_iterator_tag, int, int&, int*, int> to initialize std::reverse_iterator<const int*, std::random_access_iterator_tag, int, const int&, const int*, int>. line 271: Error: Cannot use std::reverse_iterator<int*, std::random_access_iterator_tag, int, int&, int*, int> to initialize std::reverse_iterator<const int*, std::random_access_iterator_tag, int, const int&, const int*, int>. i am not an expert in c++, but the following change at least satisfied the compiler: --- cmake-3.1.0_orig/Source/cmComputeLinkDepends.cxx Mon Dec 15 21:07:43 2014 +++ cmake-3.1.0/Source/cmComputeLinkDepends.cxx Thu Dec 18 16:17:00 2014 @@ -266,7 +266,7 @@ // Iterate in reverse order so we can keep only the last occurrence // of a shared library. std::set<int> emmitted; - for(std::vector<int>::const_reverse_iterator + for(std::vector<int>::reverse_iterator li = this->FinalLinkOrder.rbegin(), le = this->FinalLinkOrder.rend(); li != le; ++li) | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | 0001-Fix-compilation-with-the-Oracle-Sun-compiler-15318.patch [^] (1,247 bytes) 2014-12-18 11:26 [Show Content] | ||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0037487) Brad King (manager) 2014-12-18 11:21 |
I think this has been fixed in post-3.1 development here: Misc. fixes for the Oracle / Sun compiler. http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=97b65f81 [^] Without nightly testing we really can't offer support for a platform. |
(0037488) Brad King (manager) 2014-12-18 11:26 |
Please test "0001-Fix-compilation-with-the-Oracle-Sun-compiler-15318.patch". |
(0037510) Brad King (manager) 2014-12-22 14:27 |
Re 0015318:0037488: Patch applied here: Fix compilation with the Oracle / Sun compiler http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=107dcac3 [^] |
(0038706) Robert Maynard (manager) 2015-05-04 09:05 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2014-12-18 11:14 | Fritz H | New Issue | |
2014-12-18 11:21 | Brad King | Note Added: 0037487 | |
2014-12-18 11:26 | Brad King | File Added: 0001-Fix-compilation-with-the-Oracle-Sun-compiler-15318.patch | |
2014-12-18 11:26 | Brad King | Note Added: 0037488 | |
2014-12-18 11:26 | Brad King | Status | new => acknowledged |
2014-12-18 11:26 | Brad King | Target Version | => CMake 3.1.1 |
2014-12-18 11:39 | Brad King | Relationship added | related to 0015317 |
2014-12-22 14:27 | Brad King | Note Added: 0037510 | |
2014-12-22 14:27 | Brad King | Assigned To | => Brad King |
2014-12-22 14:27 | Brad King | Status | acknowledged => resolved |
2014-12-22 14:27 | Brad King | Resolution | open => fixed |
2014-12-22 14:27 | Brad King | Fixed in Version | => CMake 3.1.1 |
2015-05-04 09:05 | Robert Maynard | Note Added: 0038706 | |
2015-05-04 09:05 | Robert Maynard | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |