Compile error in matchers.cpp and features2d.hpp with Sunpro (Bug #781)
Description
Many files contain "using namespace std;" which is generally a bad thing to do. A specific problem encountered with the Sunpro compiler occurs in matches.cpp (lines 569 and 634) and features2d.hpp (line 2079) where this practice causes a name collision between std::transform() and cv::transform(). The problems can be fixed by changing the lines mentioned (in 2.2.0 release) to std::transform() but the using namespace std; should really be removed from all files.
Associated revisions
fixed collisions between std::transform() and cv::transform() (#781)
Merge pull request #781 from bitwangyaoyao:2.4_fixerr
History
Updated by Maria Dimashova about 14 years ago
Fixed in r4470.
- Status changed from Open to Done
- (deleted custom field) set to fixed