-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Handling of std::conditional by Cling in ROOT 6.32.02. #16119
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
Comments
I quickly tried to see whether the name normalisation had a bug, and that is not obvious
|
Indeed, that I tried as well and I can confirm it works also for us ... It looks like you need the whole parent class. |
Ok, I have a very trivial reproducer. In our environment, when running the following on the root prompt: root [19] TClassEdit::GetNormalizedName(foo, "std::conditional<(NBIT > 32), uint64_t, typename std::conditional<(NBIT > 16), uint32_t, typename std::conditional<(NBIT > 8), uint16_t, uint8_t>::type>::type>::type") I get:
|
actually, even easier:
|
For the record, I confirm also that your example works for me a well. However I also have:
which is exactly the wrong behaviour I originally reported... |
BTW, |
Any news on this issue? Do you need anything else on my side? Apparently my workaround prevents reading old data, so we might have to go back to the version which breaks. |
Any update on this? |
Check duplicate issues.
Description
When running with 6.32.02 the ALICE reconstruction we were plagued by errors like the following:
./itstpcMatch.log[16548:itstpc-track-writer]: Error in TStreamerInfo::Build: o2::dataformats::AbstractRef<25,5,2>, unknown type: typename std::conditional<(32> mRef
which were not there when using 6.30.0. We have since been able to workaround this by doing:
https://github.com/AliceO2Group/AliceO2/pull/13310/files
however I was wondering if this is not some more serious issue. In particular I am puzzled by the "(32" template argument, which seems to indicate some weird memory overwrite / macro expansion of NBIT.
Reproducer
I do not have a simple reproducer.
ROOT version
6.32.02
Installation method
aliBuild
Operating system
Linux
Additional context
No response
The text was updated successfully, but these errors were encountered: