Skip to content

LLVM 21+: Resolve build error - #9653

Merged
timosachsenberg merged 1 commit into
OpenMS:developfrom
pjones:pjones/new
Jun 24, 2026
Merged

timosachsenberg merged 1 commit into
OpenMS:developfrom
pjones:pjones/new

Conversation

@pjones

@pjones pjones commented Jun 24, 2026 •

Copy link
Copy Markdown
Contributor

This is another LLVM/clang error:

I think it was commit e6fcc89 removing #include <OpenMS/CONCEPT/Exception.h> from the GlobalExceptionHandler.h file.

Summary by CodeRabbit

  • Bug Fixes
    • Improved application stability by updating exception handling support.

This is another LLVM/clang error:

I think it was commit e6fcc89
removing `#include <OpenMS/CONCEPT/Exception.h>` from the
`GlobalExceptionHandler.h` file.
@coderabbitai

coderabbitai Bot commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 9546eb00-0d94-4a8e-9510-800b3a6831e2

📥 Commits

Reviewing files that changed from the base of the PR and between d5728ce and 1443ad5.

📒 Files selected for processing (1)
  • src/openms/source/CONCEPT/GlobalExceptionHandler.cpp

📝 Walkthrough

Walkthrough

A single #include <new> directive is added to GlobalExceptionHandler.cpp to make the C++ standard <new> header available in that translation unit.

Changes

GlobalExceptionHandler Header Fix

Layer / File(s) Summary
Add <new> header include
src/openms/source/CONCEPT/GlobalExceptionHandler.cpp
Adds #include <new> to provide the standard C++ <new> header declarations in this translation unit.

A tiny hop, a single line,
#include <new> — oh how divine!
The compiler frowns no more today,
The header hops along its way.
🐇 One include to rule them all! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title matches the change: a build error fix for LLVM 21+ in GlobalExceptionHandler.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@timosachsenberg
timosachsenberg merged commit ff1ce63 into OpenMS:develop Jun 24, 2026
41 checks passed
timosachsenberg added a commit that referenced this pull request Jun 25, 2026
…ceptionHandler (#9653) (#9656)

PR #9653 (merged 2026-06-24) added a missing <new> include in
GlobalExceptionHandler.cpp to fix build errors with LLVM/clang 21+,
which no longer provides placement-new/delete via transitive includes.
This was the only recently merged PR without a CHANGELOG entry.


Claude-Session: https://claude.ai/code/session_01BFqM8n8Rpo796cs4vetXXV

Co-authored-by: Claude <[email protected]>
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.

2 participants