Skip to content

Disable waring C5054 in VS2022 c++20#24055

Merged
asmorkalov merged 1 commit intoopencv:4.xfrom
asmorkalov:as/msvc_cxx20_warning_disable
Jul 26, 2023
Merged

Disable waring C5054 in VS2022 c++20#24055
asmorkalov merged 1 commit intoopencv:4.xfrom
asmorkalov:as/msvc_cxx20_warning_disable

Conversation

@asmorkalov
Copy link
Copy Markdown
Contributor

@asmorkalov asmorkalov commented Jul 25, 2023

Replacement for #23974.
Suppressed the warning as it's done for GCC and Clang.
The PR touches header files only. OpenCV does not fully support C++20 for now.

Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
  • The PR is proposed to the proper branch
  • There is a reference to the original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

@asmorkalov asmorkalov force-pushed the as/msvc_cxx20_warning_disable branch from 979c557 to b22c250 Compare July 26, 2023 06:25
@asmorkalov asmorkalov added this to the 4.9.0 milestone Jul 26, 2023
@asmorkalov asmorkalov merged commit 46841df into opencv:4.x Jul 26, 2023
@asmorkalov asmorkalov mentioned this pull request Jul 27, 2023
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.

2 participants