Record the source location of DECLARE_COMPONENT in Python configurables
All threads resolved!
This MR adds to the Python configurable classes an extra class data member (__declaration_location__
) containing the source file name and line of the invocation of DECLARE_COMPONENT
for that plugin in the form of <base file name>:<line number>
.
Closes #203 (closed)
Edited by Marco Clemencic
Merge request reports
Activity
changed milestone to %v36r4
- Resolved by Marco Clemencic
Considering C++20 won't happen for most of us for Run-3, why are you relying on C++20 here? You only use the file name and line number which is available within standard C/C++ via
__FILE__
and__LINE__
.
added 1 commit
- e0e4a68c - Add C++17 support based on a clone of GCC <experimental/source_location>
added 1 commit
- d7aaac40 - Add C++14 support using <experimental/source_location>
assigned to @clemenci
added lhcb-gaudi-head label
- [2022-01-15 00:06] Validation started with lhcb-gaudi-head#3137
- [2022-01-15 00:52] Validation started with lhcb-run2-gaudi-head#261
- [2022-01-18 00:03] Validation started with lhcb-gaudi-head#3138
- [2022-01-19 00:06] Validation started with lhcb-gaudi-head#3139
- [2022-01-19 00:42] Validation started with lhcb-run2-gaudi-head#262
- [2022-01-20 00:06] Validation started with lhcb-gaudi-head#3140
- [2022-01-20 05:33] Validation started with lhcb-gaudi-head#3140
Edited by Software for LHCbmentioned in commit 5776c2a2
mentioned in issue #249 (closed)
mentioned in merge request !1404 (merged)
Please register or sign in to reply