Skip to content
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

v18.4_patches: Backport forward compatibility patches for API deprecations in FairLogger and FairMQ #1170

Merged
merged 13 commits into from
Apr 13, 2022

Conversation

dennisklein
Copy link
Member

No description provided.

ChristianTackeGSI and others added 11 commits April 12, 2022 22:13
FairRoot depends on a C++11 compiler.
This is fully declared and enforced using CMake native
tooling.

CheckCXX11Features is not used at all any more.

So remove all of its usage in CMakeLists.txt.
Also remove it from the templates.
We do not need it any longer.
And we do not want to provide it to our users.
So remove it completely.
Wraps the `FairMQ::FairMQ` target to support the cleaned namespaced
FairMQ API (FairRootGroup/FairMQ#423).

Also ships transition headers
* "FairMQ.h" and
* "FairRunFairMQDevice.h".

The latter provides a transition from the `<fairmq/runFairMQDevice.h>`
to the `<fairmq/runDevice.h>` header which changed the signature and
return value of the `getDevice` function (see
FairRootGroup/FairMQ@978191f and
FairRootGroup/FairMQ@a7dbead).
Since FairMQ v1.4.0 `FairMQLogger.h` was just a wrapper around
`fairlogger/Logger.h` because all logging features have been factored out to
FairLogger already.
See https://github.com/FairRootGroup/FairMQ/blob/v1.4.0/fairmq/FairMQLogger.h
* see FairRootGroup/FairMQ#423
* uses transition header `"FairMQ.h"` from `FairRoot::FairMQ` target
* minor cleanup of includes and typos
Uses transition header `"FairRunFairMQDevice.h"` from `FairRoot::FairMQ` target.

See FairRootGroup/FairMQ@978191f
Upper case severities are deprecated in FairLogger 1.10.
So switch all severities over to lower case.
When willingly overriding a virtual method, it is good
practice to mark the method with `override`.
Most other places already do so.
Increase the buffers to be large enough for a 32bit
integer. And switch to snprintf.
@dennisklein dennisklein merged commit 77adbbc into FairRootGroup:v18.4_patches Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants