Skip to content

Conversation

guitargeek
Copy link
Contributor

In user frameworks based on RooFit, there were linker errors with ROOT master:

undefined reference to RooAbsReal::matchArgs(RooArgSet const&, RooArgSet&, RooArgProxy const&) const

This can be fixed by treating the case of no extra arguments to the variadic matchArgs function as a separate overload, so it get consistently not inlined.

Thanks @cburgard for noticing and reporting!

Follows up on 85186f3, which implemented RooAbsReal::matchArgs with variadic templates.

In user frameworks based on RooFit, there were linker errors with ROOT
`master`:

```txt
undefined reference to RooAbsReal::matchArgs(RooArgSet const&, RooArgSet&, RooArgProxy const&) const
```

This can be fixed by treating the case of no extra arguments to the
variadic `matchArgs` function as a separate overload, so it get
consistently not inlined.

Thanks @cburgard for noticing and reporting!

Follows up on 85186f3, which implemented `RooAbsReal::matchArgs`
with variadic templates.
Copy link

github-actions bot commented Sep 11, 2025

Test Results

    20 files      20 suites   3d 16h 47m 6s ⏱️
 3 664 tests  3 664 ✅ 0 💤 0 ❌
71 525 runs  71 525 ✅ 0 💤 0 ❌

Results for commit a64aa8ac.

♻️ This comment has been updated with latest results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant