Skip to content

Conversation

@kevinushey
Copy link
Collaborator

Closes #2047.

@kevinushey kevinushey requested a review from Copilot July 21, 2025 17:48
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR addresses a compilation issue caused by the deprecation and removal of std::uncaught_exception() in modern C++ standards. The change updates the NEWS.md file to document the fix for this deprecation-related compilation failure.

  • Adds a changelog entry documenting the fix for std::uncaught_exception() deprecation
  • References the associated GitHub issue #2047 and contributor @kevinushey

@hadley hadley merged commit b40501a into main Jul 23, 2025
11 checks passed
@hadley hadley deleted the bugfix/catch-std-uncaught-exception branch July 23, 2025 13:43
schloerke added a commit to schloerke/testthat that referenced this pull request Jul 25, 2025
* upstream/HEAD: (250 commits)
  Implement `expect_shape()` (r-lib#1469)
  Re-enable catch tests on windows (r-lib#2104)
  Move digest to suggests (r-lib#2105)
  Support emscripten in `skip_on_os()` (r-lib#2103)
  Add `skip_unless_r()` (r-lib#2094)
  Require R 4.1 (r-lib#2101)
  Allow unquoting first arg for `expect_s4_class()` (r-lib#2065)
  typo fix (r-lib#2051)
  Explicitly pass `parent.frame()` in `it()` (r-lib#2086)
  Update vignette advice for migrating to {testthat} 3e (r-lib#2080)
  New praise messages (r-lib#1974)
  move '!' outside aggregation (r-lib#2067)
  Handle deprecation of std::uncaught_exception() (r-lib#2097)
  perf: use `anyNA()` (r-lib#2058)
  Upkeep (r-lib#2099)
  Implement `mock_output_sequence()` (r-lib#2061)
  Increment version number to 3.2.3.9000
  Increment version number to 3.2.3
  Update CRAN comments
  Finish off r-lib#2046
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

std::uncaught_exception error in vendored catch.h with clang++-20 and C++20 standard

3 participants