/home/emil/libCMT/CMT.cpp: In member function ‘void CMT::processFrame(cv::Mat)’:
/home/emil/libCMT/CMT.cpp:558:69: warning: name lookup of ‘i’ changed [enabled by default]
descriptorMatcher->match(selectedFeatures, features.row(i), matches);
^
/home/emil/libCMT/CMT.cpp:516:13: warning: matches this ‘i’ under ISO standard rules [enabled by default]
for(int i = 0; i < keypoints.size(); i++)
^
/home/emil/libCMT/CMT.cpp:527:17: warning: matches this ‘i’ under old rules [enabled by default]
for(int i = 0; i < matches.size(); i++)
^
Perhaps nicer to change loop variables to avoid this kind of warning?
/home/emil/libCMT/CMT.cpp: In member function ‘void CMT::processFrame(cv::Mat)’: /home/emil/libCMT/CMT.cpp:558:69: warning: name lookup of ‘i’ changed [enabled by default] descriptorMatcher->match(selectedFeatures, features.row(i), matches); ^ /home/emil/libCMT/CMT.cpp:516:13: warning: matches this ‘i’ under ISO standard rules [enabled by default] for(int i = 0; i < keypoints.size(); i++) ^ /home/emil/libCMT/CMT.cpp:527:17: warning: matches this ‘i’ under old rules [enabled by default] for(int i = 0; i < matches.size(); i++) ^
Perhaps nicer to change loop variables to avoid this kind of warning?