Skip to content

[core] remove Strlen workaround from the 90s - #23255

Open
ferdymercury wants to merge 3 commits into
root-project:masterfrom
ferdymercury:strlen
Open

[core] remove Strlen workaround from the 90s#23255
ferdymercury wants to merge 3 commits into
root-project:masterfrom
ferdymercury:strlen

Conversation

@ferdymercury

Copy link
Copy Markdown
Collaborator

No description provided.

@ferdymercury ferdymercury added the skip code analysis Skip the code analysis CI steps for this PR, including verifying clang-formatting and running Ruff. label Sep 4, 2026
@ferdymercury ferdymercury reopened this Sep 4, 2026
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown

Test Results

    22 files      22 suites   3d 9h 4m 47s ⏱️
 3 868 tests  3 867 ✅ 0 💤 1 ❌
75 104 runs  75 103 ✅ 0 💤 1 ❌

For more details on these failures, see this check.

Results for commit 9cb0a7b.

♻️ This comment has been updated with latest results.

@ferdymercury
ferdymercury marked this pull request as ready for review September 4, 2026 11:19
Comment thread core/base/inc/Strlen.h
#ifndef ROOT_Strlen
#define ROOT_Strlen

#include <ROOT/RConfig.hxx>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Could we replace this with a temporary 'empty' file with just a deprecation warning (and pointing to use cstring)? Or is it too unlikely to have been used outside of ROOT?

@ferdymercury ferdymercury Sep 4, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I'd say it's very unlikely, it was not used by any public header within ROOT, so hard anyone was coming up with the idea of searching among the 1280 ROOT headers one that does that, when there is cstring...

Comment thread README/ReleaseNotes/v642/index.md Outdated

@pcanal pcanal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LFTM

@ferdymercury ferdymercury added the clean build Ask CI to do non-incremental build on PR label Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clean build Ask CI to do non-incremental build on PR skip code analysis Skip the code analysis CI steps for this PR, including verifying clang-formatting and running Ruff.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants