Skip to content

build: avoid MSVC ICE - #14457

Merged
opencv-pushbot merged 1 commit into
opencv:3.4from
alalek:dnn_fix_msvc_build
Apr 30, 2019
Merged

opencv-pushbot merged 1 commit into
opencv:3.4from
alalek:dnn_fix_msvc_build

Conversation

@alalek

@alalek alalek commented Apr 30, 2019 •

Copy link
Copy Markdown
Member
buildworker:Mac OpenCL=macosx-1
build_image:Mac OpenCL=openvino-2019r1
test_modules=dnn

buildworker:Custom=linux-2
docker_image:Custom=ubuntu-openvino-2019r1:16.04
test_opencl:Custom=ON
test_bigdata:Custom=1
test_filter:Custom=*
test_modules:Custom=dnn

ci_branch:Linux AVX2=no-checks
docker_image:Linux AVX2=ubuntu-openvino-2019r1:16.04
test_opencl:Linux AVX2=OFF
buildworker:Linux AVX2=linux-1
build_parallel_tests:Linux AVX2=1
test_bigdata:Linux AVX2=1
test_module:Linux AVX2=dnn,python2,python3,java
tests_filter:Linux AVX2=*

@dkurt dkurt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@opencv-pushbot
opencv-pushbot merged commit 138a806 into opencv:3.4 Apr 30, 2019
@alalek alalek mentioned this pull request Apr 30, 2019
@dkurt

dkurt commented May 5, 2019

Copy link
Copy Markdown
Member

@alalek, It looks like the { } were critical there. Without it I can face segfault in the application (despite tests are passed). Let me provide a reproducer.

@alalek

alalek commented May 5, 2019

Copy link
Copy Markdown
Member Author

Lets move code of this lambda into a separate static method.
DLIE API accepts just function pointer (not std::function<> or other template).

@dkurt

dkurt commented May 5, 2019

Copy link
Copy Markdown
Member

@alalek, Thanks! Actually, for now I'm not sure that this is a root of my problem. My python application has a separate thread which grabs frames from a camera and a main thread which visualize it. Without imshow it's ok. I'll try to minimize it.

@dkurt

dkurt commented May 5, 2019

Copy link
Copy Markdown
Member

@alalek, I just opened #14483. Please take a look if you'll have time. Thanks!

SavyaSanchi-Sharma pushed a commit to SavyaSanchi-Sharma/opencv that referenced this pull request Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants