Skip to content

Conversation

@ferdymercury
Copy link
Collaborator

@ferdymercury ferdymercury commented Jan 13, 2026

This Pull request:

Changes or fixes:

Fixes #20790

Tested locally with clang15, using: test.txt

I did not go into modifying ROOT/....hxx headers, they give more warnings/errors, so to run the example above, comment all include ROOT/...:

This test.txt script could maybe become part of the static analyzer we mentioned some time ago (based on https://github.com/olifre/rootStaticAnalyzer)

On the other hand, one could say this is all a bug in clang and the issue is a Won'tFix, since g++ does not shown these warnings. So I'm happy to close this PR, too.

Checklist:

  • tested changes locally

@pcanal
Copy link
Member

pcanal commented Jan 13, 2026

Is this meant to replace/extend #20793 ?

@ferdymercury
Copy link
Collaborator Author

Is this meant to replace/extend #20793 ?

Yes, it's a replacement since the other one was incorrect.

@github-actions
Copy link

Test Results

    23 files      23 suites   3d 21h 43m 31s ⏱️
 3 816 tests  3 815 ✅ 0 💤 1 ❌
80 421 runs  80 420 ✅ 0 💤 1 ❌

For more details on these failures, see this check.

Results for commit 4c038ac.

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.

Applications compiled on MacOS with -Wshadow report warnings from 14 ROOT headers

2 participants