Skip to content

[cling] Unexpected warning and errors printed by dictionary generation #18982

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
linev opened this issue Jun 6, 2025 · 0 comments · Fixed by #19002
Closed
1 task done

[cling] Unexpected warning and errors printed by dictionary generation #18982

linev opened this issue Jun 6, 2025 · 0 comments · Fixed by #19002
Assignees

Comments

@linev
Copy link
Member

linev commented Jun 6, 2025

Check duplicate issues.

  • Checked for duplicates

Description

When execute command:

rootcling -v2 -f dict.cxx RtObj.h RtObjLinkDef.h 

Got a lot of failures like:

Warning: FindScope got an invalid tag decl
ERROR: FindScope about to return an invalid decl
Warning: FindScope got an invalid tag decl
ERROR: FindScope about to return an invalid decl
...

Problem can be fixed if replace #include <TObject.h> by #include <TNamed.h>,
but in my mind rootcling should avoid printing so many misleading messages.

Reproducer

Files are from roottest/root/io/clones directory:

RtObj.h
RtObjLinkDef.h

ROOT version

Master

Installation method

Build from source

Operating system

OpenSUSE

Additional context

No response

@dpiparo dpiparo changed the title [cling] Unexpected failure by dictionary generation [cling] Unexpected warning and errors printed by dictionary generation Jun 6, 2025
@dpiparo dpiparo self-assigned this Jun 9, 2025
dpiparo added a commit to dpiparo/root that referenced this issue Jun 10, 2025
dpiparo added a commit that referenced this issue Jun 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
2 participants