Skip to content

core(cuda.hpp): fix GpuMatND compilation with GCC < 5#19466

Merged
opencv-pushbot merged 1 commit intoopencv:masterfrom
alalek:hotfix_19259
Feb 5, 2021
Merged

core(cuda.hpp): fix GpuMatND compilation with GCC < 5#19466
opencv-pushbot merged 1 commit intoopencv:masterfrom
alalek:hotfix_19259

Conversation

@alalek
Copy link
Copy Markdown
Member

@alalek alalek commented Feb 5, 2021

relates #19259

Probably relates: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59526

Failed ARMv7 builder (GCC 4.8.x)

/build/precommit_armv7/opencv/modules/core/include/opencv2/core/cuda.hpp:456:15: error: function 'cv::cuda::GpuMatND& cv::cuda::GpuMatND::operator=(cv::cuda::GpuMatND&&)' defaulted on its first declaration with an exception-specification that differs from the implicit declaration 'cv::cuda::GpuMatND& cv::cuda::GpuMatND::operator=(cv::cuda::GpuMatND&&)'
     GpuMatND& operator=(GpuMatND&&) noexcept = default;
               ^

Failed CentOS 7:

/build/precommit_custom_linux/opencv/modules/core/include/opencv2/core/cuda.hpp:456:15: error: function 'cv::cuda::GpuMatND& cv::cuda::GpuMatND::operator=(cv::cuda::GpuMatND&&)' defaulted on its first declaration with an exception-specification that differs from the implicit declaration 'cv::cuda::GpuMatND& cv::cuda::GpuMatND::operator=(cv::cuda::GpuMatND&&)'
     GpuMatND& operator=(GpuMatND&&) noexcept = default;
               ^

force_builders=ARMv7,Custom
build_image:Custom=centos:7
buildworker:Custom=linux-1,linux-4,linux-6

@alalek
Copy link
Copy Markdown
Member Author

alalek commented Feb 5, 2021

👍

@opencv-pushbot opencv-pushbot merged commit f46b125 into opencv:master Feb 5, 2021
@alalek alalek mentioned this pull request Apr 9, 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.

2 participants