Skip to content

fix: add LinkDef.h for janaview and data model example plugins#498

Merged
nathanwbrei merged 2 commits into
JeffersonLab:masterfrom
wdconinc:root-6.40.00-linkdef
May 26, 2026
Merged

fix: add LinkDef.h for janaview and data model example plugins#498
nathanwbrei merged 2 commits into
JeffersonLab:masterfrom
wdconinc:root-6.40.00-linkdef

Conversation

@wdconinc
Copy link
Copy Markdown
Member

In ROOT v6.40.00, a LinkDef.h is required (or a C++ module), and this commit adds a minimal LinkDef.h for the janaview and ROOT data model example plugins where it was missing.

In ROOT v6.40.00, a LinkDef.h is required (or a C++ module) [1],
and this commit adds a minimal LinkDef.h for the janaview and
ROOT data model example plugins where it was missing.

[1] root-project/root@d3b89850ce6
Copilot AI review requested due to automatic review settings May 22, 2026 19:51
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds explicit ROOT LinkDef files and wires them into CMake dictionary generation so ROOT can generate reflection dictionaries for janaview and the RootDatamodelExample classes.

Changes:

  • Added *_LinkDef.h files for jv_mainframe, Hit, and Cluster.
  • Updated ROOT_GENERATE_DICTIONARY(...) calls to include LINKDEF ....

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/plugins/janaview/jv_mainframe_LinkDef.h Adds ROOT pragma link directives for jv_mainframe dictionary generation.
src/plugins/janaview/CMakeLists.txt Passes LINKDEF to ROOT_GENERATE_DICTIONARY for janaview.
src/examples/misc/RootDatamodelExample/Hit_LinkDef.h Adds ROOT pragma link directives for Hit dictionary generation.
src/examples/misc/RootDatamodelExample/Cluster_LinkDef.h Adds ROOT pragma link directives for Cluster dictionary generation.
src/examples/misc/RootDatamodelExample/CMakeLists.txt Passes LINKDEF to ROOT_GENERATE_DICTIONARY for example classes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/plugins/janaview/jv_mainframe_LinkDef.h Outdated
Comment thread src/examples/misc/RootDatamodelExample/Hit_LinkDef.h Outdated
Comment thread src/examples/misc/RootDatamodelExample/Cluster_LinkDef.h Outdated
@wdconinc
Copy link
Copy Markdown
Member Author

FYI @nathanwbrei

@nathanwbrei nathanwbrei merged commit efb16f3 into JeffersonLab:master May 26, 2026
7 of 8 checks passed
@wdconinc wdconinc deleted the root-6.40.00-linkdef branch May 27, 2026 08:03
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.

3 participants