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
rootcling --genreflex
ignores <field... transient="true"/>
in selection XML
#13543
Comments
Bug is reproduced on 4f0450b. |
The problem is solved by passing the option |
@vgvassilev It is a bit surprising that |
Ah, yes, that makes sense. We have seen that on several occasions actually and that’s why we added this flag. Do you want to turn that logic on when we see selection.xml file? Is there a use case where we would want rootcling only behavior and still pass a selection.xml file? |
So far I don't see it. Worst the behavior as-is is very surprising because part of the selection.xml is used (the part selection classes) and the other is ignored. (I suppose that if this behavior is useful it should be opt-in (eg |
I can confirm that replacing |
These changes allow the user to generate a dictionary with rootcling and selecting classes with a selection XML file, the selection file format of genreflex, instead of a traditional LinkDef file. Fixes root-project#13543
These changes allow the user to generate a dictionary with rootcling and selecting classes with a selection XML file, the selection file format of genreflex, instead of a traditional LinkDef file. Fixes root-project#13543
These changes allow the user to generate a dictionary with rootcling and selecting classes with a selection XML file, the selection file format of genreflex, instead of a traditional LinkDef file. Fixes #13543
These changes allow the user to generate a dictionary with rootcling and selecting classes with a selection XML file, the selection file format of genreflex, instead of a traditional LinkDef file. Fixes root-project#13543
Check duplicate issues.
Description
After following advice to transition from
genreflex
torootcling --genreflex
, we discovered that IO dictionaries generated for classes with transient (non-persistent) data members actually included stream information for those data members, in contrast both with the behavior ofgenreflex
and our desire.Reproducer
cd
into the top level directory of rootcling-genreflex-transient-bug.tgz./makeit good
./makeit
The output of the final
ROOT -b
command should be the same down to the checksum reported if the problem were not present.ROOT version
ROOT 6.28/04@30598a8430
Installation method
UPS
Operating system
SL7
Additional context
Compiled with GCC 13.1.0/C++20.
May be related to the (insufficiently detailed) #13361.
The text was updated successfully, but these errors were encountered: