Skip to content

Don't issue deprecation warnings in rootcling v6.38#20289

Closed
hageboeck wants to merge 3 commits intoroot-project:v6-38-00-patchesfrom
hageboeck:no_deprecation_cling_v6.38
Closed

Don't issue deprecation warnings in rootcling v6.38#20289
hageboeck wants to merge 3 commits intoroot-project:v6-38-00-patchesfrom
hageboeck:no_deprecation_cling_v6.38

Conversation

@hageboeck
Copy link
Member

This Pull request:

Changes or fixes:

Checklist:

  • tested changes locally
  • updated the docs (if necessary)

This PR fixes #

When functions/classes get deprecated, rootcling should still
successfully generate the dictionaries. Therefore, the R__DEPRECATED
macros will be defined to empty in rootcling.
@hageboeck hageboeck self-assigned this Nov 5, 2025
@hageboeck hageboeck changed the title No deprecation cling v6.38 Don't issue deprecation warnings in rootcling v6.38 Nov 5, 2025
@github-actions
Copy link

github-actions bot commented Nov 5, 2025

Test Results

    22 files      22 suites   3d 20h 58m 9s ⏱️
 3 704 tests  3 704 ✅ 0 💤 0 ❌
79 555 runs  79 555 ✅ 0 💤 0 ❌

Results for commit c7f4d37.

Copy link
Member

@hahnjo hahnjo left a comment

Choose a reason for hiding this comment

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

I think this is wrong. The real problem is that graf3d/gl/inc/TGLWSIncludes.h has

#if ROOT_VERSION_CODE >= ROOT_VERSION(6, 38, 00)

That is now the case for v6-38-00-patches (not yet, it's still 6.37.99 for the moment). The correct condition (inversion from RConfig.hxx) would be

#if ROOT_VERSION_CODE > ROOT_VERSION(6, 39, 0)

@hageboeck
Copy link
Member Author

I think this is wrong.

That's why there is #20290, because I also said that it shouldn't have to do with rootcling, and couldn't reproduce it locally.

@hageboeck hageboeck closed this Nov 5, 2025
@hageboeck hageboeck deleted the no_deprecation_cling_v6.38 branch November 5, 2025 13:45
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