You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
opencv: fix C++ nested template argument list syntax error
Fixes#104
[53 of 71] Compiling OpenCV.ImgProc.StructuralAnalysis ( .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/OpenCV/ImgProc/StructuralAnalysis.hs, .stack-work/dist/x86_64-linux/Cabal-2.0.1.0/build/OpenCV/ImgProc/StructuralAnalysis.o )
/tmp/ghc18962_0/ghc_578.cpp: In function ‘void inline_c_OpenCV_ImgProc_StructuralAnalysis_2(cv::Mat*, int32_t, int32_t, int32_t*, cv::Point2i****, cv::Vec4i***, int32_t**)’:
/tmp/stack4848/opencv-0.0.2.0//tmp/ghc18962_0/ghc_578.cpp:59:40: error:
error: ‘>>’ should be ‘> >’ within a nested template argument list
std::vector<std::vector<cv::Point>> contours;
^
|
59 | std::vector<std::vector<cv::Point>> contours;
| ^
/tmp/stack4848/opencv-0.0.2.0//tmp/ghc18962_0/ghc_578.cpp:83:45: error:
error: ‘>>’ should be ‘> >’ within a nested template argument list
for (std::vector<std::vector<cv::Point>>::size_type i = 0; i < contours.size(); i++) {
^
|
83 | for (std::vector<std::vector<cv::Point>>::size_type i = 0; i < contours.size(); i++) {
| ^
`gcc' failed in phase `C Compiler'. (Exit code: 1)
0 commit comments