Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

system.cpp: add missing #include <exception>#27483

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
asmorkalov merged 1 commit intoopencv:4.xfromvalgur:patch-2
Jun 26, 2025

Conversation

@valgur
Copy link
Contributor

@valgurvalgur commentedJun 26, 2025
edited
Loading

PR#25899 added anstd::terminate() call without a corresponding include for<exception>:

voidterminate(int _code,const String& _err,constchar* _func,constchar* _file,int _line) CV_NOEXCEPT
{
dumpException(cv::Exception(_code, _err, _func, _file, _line));
std::terminate();
}

This can cause a compilation error if the header is not coincidentally included elsewhere, as encountered here:conan-io/conan-center-index#27787

modules/core/src/system.cpp:1321:10: error: no member named 'terminate' in namespace 'std' 1321 |     std::terminate();      |     ~~~~~^

Pull Request Readiness Checklist

See details athttps://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

valgur added a commit to valgur/conan-center-index that referenced this pull requestJun 26, 2025
@asmorkalovasmorkalov added this to the4.12.0 milestoneJun 26, 2025
@asmorkalovasmorkalov self-requested a reviewJune 26, 2025 05:27
@asmorkalovasmorkalov self-assigned thisJun 26, 2025
@asmorkalovasmorkalov merged commitf669755 intoopencv:4.xJun 26, 2025
26 of 28 checks passed
@asmorkalovasmorkalov mentioned this pull requestJul 21, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@asmorkalovasmorkalovAwaiting requested review from asmorkalov

Assignees

@asmorkalovasmorkalov

Projects

None yet

Milestone

4.12.0

Development

Successfully merging this pull request may close these issues.

2 participants

@valgur@asmorkalov

[8]ページ先頭

©2009-2025 Movatter.jp