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

    23 files      23 suites   3d 16h 10m 7s ⏱️
 3 872 tests  3 872 ✅ 0 💤 0 ❌
78 826 runs  78 826 ✅ 0 💤 0 ❌

Results for commit 0d7f88d.

♻️ 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