Skip to content

add new MSVC compiler version#20804

Closed
sthalik wants to merge 1 commit intoopencv:masterfrom
sthalik:fix-msvc-build
Closed

add new MSVC compiler version#20804
sthalik wants to merge 1 commit intoopencv:masterfrom
sthalik:fix-msvc-build

Conversation

@sthalik
Copy link
Copy Markdown
Contributor

@sthalik sthalik commented Oct 4, 2021

A couple of compile errors and noisy warnings on MSVC.

@alalek
Copy link
Copy Markdown
Member

alalek commented Oct 7, 2021

Thank you for contribution!

Could you please open dedicated PRs to 3.4 maintenance branch for commits 2,3,4? Please add information about build environment (MSVS 2022?) and used CMake parameters and which warning/error messages are shown prior to the fix.

@sthalik
Copy link
Copy Markdown
Contributor Author

sthalik commented Oct 7, 2021

Build environment is MSVC++ 2022 Preview. The errors appear when using the likes of -GL and -LTCG:INCRMEENTAL. In particular, I'm using this toolchain file <https://github.com/opentrack/opentrack/blob/master/cmake/msvc.cmake> but the errors will appear when using these options in a more kosher fashion. Do you need me to be more verbose in the comment?

Backport is in #20831.

@sthalik sthalik changed the title fix OPENCV_DISABLE_THREAD_SUPPORT add new MSVC compiler version Oct 7, 2021
@sthalik
Copy link
Copy Markdown
Contributor Author

sthalik commented Oct 7, 2021

Closing this in favor of #20831.

@sthalik sthalik closed this Oct 7, 2021
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