Open eguiraud opened 2 years ago
We have a draft PR for fixing it it #6548 which is blocked by #6607
@pcanal Do you think that issue can be addressed in TClassEdit
?
Yes, of course. There is code to explicitly detect and remove the allocator. Most likely TClassEdit::IsDefAlloc
needs to be updated to take into account that the word class
might be prefixed. Albeit it is odd/unexpected that Clang would put the class keyword there (it is supposed be configured not to).
This issue is just a reminder that we need to resolve this TODO:
https://github.com/root-project/root/blob/89776f40f6f9a0f1ea769ed86f8280696b85e01f/tree/dataframe/src/RNTupleDS.cxx#L288-L296
so that e.g. the following wrong usage errors out:
(on my machine the test above executes without crashes, but that's just luck)