[eg] deprecate cfortran and Hepevt headers that are implementation details - #23388
ferdymercury wants to merge 4 commits into
Conversation
remove this when moving from public to private interface after deprecation
pcanal
left a comment
There was a problem hiding this comment.
I understand the challenge with cfortran.h being duplicated across product.
That said, Hepevt.h is part of the TGenerator interface and defined/declare the default layout a fortran implemented generator can/should use to leverage the default implementation available within TGenerator.
So this PR (underlying feature) is not a technical/straight-forward cleanup but rather a real feature deprecation: "no longer supporting Fortran based generator".
So this deserve a larger discussion and the conclusion might be to recommend this PR, to delay this PR or to expand this PR to deprecate a larger set of functionality.
Why so? It's only used by TGenerator.cxx but not by TGenerator.h Or you mean someone was using directly in some downstream code? and then binding those in some way ? |
yes (via the 'magic' of common blocks) Per the documentation: |
wouldn't it make then more sense to copy-paste HepEvt.h into TGenerator.h rather than having a separate header? And then remove HepEvt.h Otherwise it can also be 'magically' broken if only includes TGenerator.h, right? |
Test Results 22 files 22 suites 3d 11h 35m 13s ⏱️ Results for commit 818bf64. |
It's urgent to avoid a sure collision with Debian when doing make install
libcfitsio-dev installs cfortran.h on the same destination as ROOT.