Sun Studio compile error (Bug #1542)
Description
There is an error in operations.hpp when compiling on Solaris with Sun Studio 12.
The implementation of Matx::diag()
(line 366 in v2.2.0) is:
1template<typename _tp, int m, int n> inline
2Matx<_Tp,m,n> Matx<_Tp,m,n>::diag(const Matx<_Tp,MIN(m,n), 1>& d)
and should be:
1template<typename _tp, int m, int n> inline
2Matx<_Tp,m,n> Matx<_Tp,m,n>::diag(typename const Matx<_Tp,m,n::diag_type>& d)
Associated revisions
Merge pull request #1542 from alalek:cl_runtime
History
Updated by Pavel Heimlich about 13 years ago
I'm observing the same in 2.3.1 on Solaris 11 with Studio 12.3
Updated by Vadim Pisarevsky about 13 years ago
let's put all the Solaris-related bugs here.
Updated by Andrey Kamaev about 13 years ago
- Description changed from There is an error in operations.hpp when compiling on Solaris with Sun Studio... to There is an error in operations.hpp when compiling on Solaris with Sun Studio... More
Updated by Alexander Shishkov almost 13 years ago
- Priority changed from High to Normal
Updated by Vadim Pisarevsky almost 13 years ago
I think, the bug has been fixed in SVN trunk a few days ago. Please, reopen the bug if the problem is still there.
- Status changed from Open to Done
- Target version set to 2.4.0