Closed
Description
When building with resolver: lts-10.1
in stack.yaml
:
[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)
It's fine with lts-9.10
(as used in your stack.yaml
), but thought you might want to know.
Metadata
Metadata
Assignees
Labels
No labels