[RF] avoid unknown pragma warning when clad is disabled#20510
[RF] avoid unknown pragma warning when clad is disabled#20510guitargeek merged 1 commit intoroot-project:masterfrom
Conversation
Test Results 21 files 21 suites 3d 17h 10m 9s ⏱️ Results for commit 4eb2e8f. |
|
Hi @ferdymercury, thank you very much for this! The only problem was that |
To avoid warnings about unknown pragmas, it's useful to have a `R__HAS_CLAD` macro defined in the interpreter, so that Clad pragmas can be conditional on Clad being available.
guitargeek
left a comment
There was a problem hiding this comment.
Thank you! I just had to fix it up a little: ROOFIT_CLAD -> R__HAS_CLAD, also introducing the latter macro.
|
Fedora Rawhide failures are related to system upgrade and incremental build. |
| #ifdef __CLING__ | ||
| #pragma clad checkpoint loop | ||
| #endif | ||
| #if defined(__CLING__) && defined(R__HAS_CLAD) |
There was a problem hiding this comment.
FYI, we define __CLAD__ which probably is what we could use here.
Question however:
Is ROOFIT_CLAD defined when this warning is happening? IE when
Generating G__RooFitCore.cxx, ../../lib/RooFitCore.pcm