Skip to content

Move the FairRoot simulation base into O2 - #16054

Open
sawenzel wants to merge 5 commits into
AliceO2Group:devfrom
sawenzel:swenzel/g4mt-pr1-fairroot-base
Open

sawenzel wants to merge 5 commits into
AliceO2Group:devfrom
sawenzel:swenzel/g4mt-pr1-fairroot-base

Conversation

@sawenzel

@sawenzel sawenzel commented Nov 5, 2026 •

Copy link
Copy Markdown
Collaborator

This PR moves the part of FairRoot that our simulation uses into O2, under
Detectors/3rdparty/FairRootBase. Over the years we have come to rely on only a small subset of
FairRoot: the VMC application, the module and detector base classes, the run and sink handling and
the stack. Much of that we have already customised on our side. Keeping this code in house allows us
to simplify our build dependencies and eases the route towards future refactoring of the
simulation, such as multithreaded Geant4 and GPU transport.

The imported classes keep their interfaces, so no change is needed in the simulation code. Parts
we do not use, such as the runtime parameter database and the geometry parameter containers, were
left out, as CCDB and ConfigurableParam already cover them. The sources keep their original
licence headers and upstream formatting. FairRoot's LICENSE and COPYRIGHT are included
verbatim, together with a short README stating the upstream version (v18.4.9-alice3).

Note that this is not intended to change the simulation output. A seeded o2-sim run (10 Pythia8
pp events, all detectors, Geant4, -j 8) gives identical content for the kinematics and all 15 hit
files compared with dev, with no FairRoot in the environment.

This needs the alidist change that drops FairRoot from o2.sh (alisw/alidist#6409), to avoid
duplicate dictionaries for the Fair classes. The two should be merged together.

We would like to thank the FairRoot developers for this code and for the long collaboration it
came out of.

Relates to https://its.cern.ch/jira/browse/O2-7305

Assisted by Claude Code.

sawenzel and others added 2 commits November 5, 2026 19:24
This is a step in the long-term refactoring towards a native Geant4
simulation. It decouples O2 from FairRoot by moving the simulation
infrastructure that o2-sim depends on into the O2 repository.

The imported classes retain their existing interfaces, so no changes are
required in the current simulation code. The runtime parameter database,
analysis framework, and other components that are unused by O2 are not
imported, as their functionality is already provided by CCDB and
ConfigurableParam.

Owning these classes locally will allow future refactoring and cleanup
without changing the current simulation behaviour.

The imported sources keep their upstream formatting and licence headers,
so they live under a 3rdparty directory and are excluded from
clang-format.

Requires the corresponding alidist update (fairroot.sh removal from o2.sh)
to avoid duplicate ROOT dictionaries.

Tested with o2-sim and o2-sim-serial; hits, MC tracks, and event headers
are unchanged.
This adds the licence and origin notes for the imported FairRoot sources and removes the leftover FairRoot lookup.

- LICENSE and COPYRIGHT are copied verbatim from FairRoot v18.4.9-alice3, as the file headers refer to them.
- A README records the upstream version and what was changed.
- dependencies/FindFairRoot.cmake and the FairRoot package properties are removed, as nothing looks up FairRoot any more.

https://its.cern.ch/jira/browse/O2-7305

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This addresses review comments on the imported FairRoot sources.

- AUTHORS and CONTRIBUTORS are copied from FairRoot, as COPYRIGHT refers to them.
- Each modified file carries a short note below its licence header, and the README dates the changes.
- FairModule stops with a message instead of crashing if the FairRoot geometry import is used, and an orphaned declaration is removed.
- A duplicate link in Generators, a blank line in the CPV tests and a stale documentation link are removed.

https://its.cern.ch/jira/browse/O2-7305

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@alibuild

alibuild commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2/fullCI_slc9 for 2cc6e3b at 2026-11-05 22:04:

## sw/BUILD/O2Physics-latest/log
CMake Error at cmake/O2PhysicsAddExecutable.cmake:135 (target_link_libraries):
ninja: error: rebuilding 'build.ninja': subcommand failed

Full log here.

@alibuild

alibuild commented Nov 5, 2026 •

Copy link
Copy Markdown
Collaborator

Error while checking build/O2/fullCI_slc9 for cd20671 at 2026-11-05 23:36:

## sw/BUILD/O2Physics-latest/log
CMake Error at cmake/O2PhysicsAddExecutable.cmake:135 (target_link_libraries):

Full log here.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@alibuild

alibuild commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2/fullCI_slc9 for 51a8940 at 2026-11-06 08:23:

## sw/BUILD/O2Physics-latest/log
CMake Error at cmake/O2PhysicsAddExecutable.cmake:135 (target_link_libraries):
ninja: error: rebuilding 'build.ninja': subcommand failed

Full log here.

@alibuild

alibuild commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2/fullCI_slc9 for 490b623 at 2026-11-06 08:43:

## sw/BUILD/o2checkcode-latest/log
--
========== List of errors found ==========
++ echo 'Found 501 errors and 0 warnings.'
Found 501 errors and 0 warnings.
++ [[ 501 -gt 0 ]]
++ cat errors.txt
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairAlignmentHandler.cxx:8:23: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairAlignmentHandler.cxx:10:23: error: use '= default' to define a trivial destructor [modernize-use-equals-default,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairAlignmentHandler.cxx:63:34: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairAlignmentHandler.cxx:69:37: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairAlignmentHandler.cxx:90:28: error: statement should be inside braces [readability-braces-around-statements,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairAlignmentHandler.cxx:92:13: error: statement should be inside braces [readability-braces-around-statements,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairBaseMCGenerator.cxx:51:22: error: use '= default' to define a trivial destructor [modernize-use-equals-default,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairBaseMCGenerator.cxx:58:20: error: statement should be inside braces [readability-braces-around-statements,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairBoxGenerator.cxx:117:47: error: statement should be inside braces [readability-braces-around-statements,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairBoxGenerator.cxx:175:32: error: statement should be inside braces [readability-braces-around-statements,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairDetector.cxx:42:15: error: use '= default' to define a trivial copy constructor [modernize-use-equals-default,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairDetector.cxx:53:22: error: statement should be inside braces [readability-braces-around-statements,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairEventHeader.cxx:24:18: error: use '= default' to define a trivial destructor [modernize-use-equals-default,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairField.cxx:26:12: error: use '= default' to define a trivial destructor [modernize-use-equals-default,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairFileHeader.cxx:41:20: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairFileHeader.cxx:42:26: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairFileHeader.cxx:50:12: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairFileHeader.cxx:53:17: error: use '= default' to define a trivial destructor [modernize-use-equals-default,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairFileInfo.cxx:15:10: error: inclusion of deprecated C++ header 'stdio.h'; consider using 'cstdio' instead [modernize-deprecated-headers,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairFileInfo.cxx:37:15: error: use '= default' to define a trivial destructor [modernize-use-equals-default,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenerator.cxx:22:16: error: use '= default' to define a trivial copy constructor [modernize-use-equals-default,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenerator.cxx:26:16: error: use '= default' to define a trivial destructor [modernize-use-equals-default,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenerator.cxx:31:22: error: statement should be inside braces [readability-braces-around-statements,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenerator.cxx:43:12: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericStack.cxx:27:16: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericStack.cxx:28:16: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericStack.cxx:41:16: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericStack.cxx:42:16: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericStack.cxx:57:16: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericStack.cxx:64:22: error: statement should be inside braces [readability-braces-around-statements,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericStack.cxx:71:15: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericStack.cxx:72:16: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericStack.cxx:73:16: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericStack.cxx:82:21: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericStack.cxx:90:12: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericStack.cxx:130:43: error: statement should be inside braces [readability-braces-around-statements,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericStack.cxx:144:44: error: statement should be inside braces [readability-braces-around-statements,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericStack.cxx:171:32: error: statement should be inside braces [readability-braces-around-statements,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericVMCConfig.cxx:19:23: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericVMCConfig.cxx:21:23: error: use '= default' to define a trivial destructor [modernize-use-equals-default,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGeoAsciiIo.cxx:26:10: error: inclusion of deprecated C++ header 'stdio.h'; consider using 'cstdio' instead [modernize-deprecated-headers,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGeoAsciiIo.cxx:27:10: error: inclusion of deprecated C++ header 'string.h'; consider using 'cstring' instead [modernize-deprecated-headers,-warnings-as-errors]
[0 more errors; see full log]

Full log here.

sawenzel added a commit to AliceO2Group/O2Physics that referenced this pull request Nov 6, 2026
The task no longer uses anything from FairRoot: the link was needed for the MCUtils.h include, which was removed in #15379. O2 is about to stop providing the FairRoot targets (AliceO2Group/AliceO2#16054), so this link would break the build.
This restores the creation of the TGeoManager that FairGeoLoader used to do in O2RunSim::Init.

- Without it, Geant3 has no geometry manager when the geometry is constructed, and the simulation crashes.
- Geant4 created a default one later, so the stored geometry carried a different title.

https://its.cern.ch/jira/browse/O2-7305

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sawenzel
sawenzel force-pushed the swenzel/g4mt-pr1-fairroot-base branch from 490b623 to df1d30c Compare November 6, 2026 09:19
@alibuild

alibuild commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2/fullCI_slc9 for df1d30c at 2026-11-06 14:05:

## sw/BUILD/o2checkcode-latest/log
--
========== List of errors found ==========
++ echo 'Found 501 errors and 0 warnings.'
Found 501 errors and 0 warnings.
++ [[ 501 -gt 0 ]]
++ cat errors.txt
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairAlignmentHandler.cxx:8:23: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairAlignmentHandler.cxx:10:23: error: use '= default' to define a trivial destructor [modernize-use-equals-default,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairAlignmentHandler.cxx:63:34: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairAlignmentHandler.cxx:69:37: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairAlignmentHandler.cxx:90:28: error: statement should be inside braces [readability-braces-around-statements,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairAlignmentHandler.cxx:92:13: error: statement should be inside braces [readability-braces-around-statements,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairBaseMCGenerator.cxx:51:22: error: use '= default' to define a trivial destructor [modernize-use-equals-default,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairBaseMCGenerator.cxx:58:20: error: statement should be inside braces [readability-braces-around-statements,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairBoxGenerator.cxx:117:47: error: statement should be inside braces [readability-braces-around-statements,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairBoxGenerator.cxx:175:32: error: statement should be inside braces [readability-braces-around-statements,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairDetector.cxx:42:15: error: use '= default' to define a trivial copy constructor [modernize-use-equals-default,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairDetector.cxx:53:22: error: statement should be inside braces [readability-braces-around-statements,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairEventHeader.cxx:24:18: error: use '= default' to define a trivial destructor [modernize-use-equals-default,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairField.cxx:26:12: error: use '= default' to define a trivial destructor [modernize-use-equals-default,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairFileHeader.cxx:41:20: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairFileHeader.cxx:42:26: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairFileHeader.cxx:50:12: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairFileHeader.cxx:53:17: error: use '= default' to define a trivial destructor [modernize-use-equals-default,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairFileInfo.cxx:15:10: error: inclusion of deprecated C++ header 'stdio.h'; consider using 'cstdio' instead [modernize-deprecated-headers,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairFileInfo.cxx:37:15: error: use '= default' to define a trivial destructor [modernize-use-equals-default,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenerator.cxx:22:16: error: use '= default' to define a trivial copy constructor [modernize-use-equals-default,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenerator.cxx:26:16: error: use '= default' to define a trivial destructor [modernize-use-equals-default,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenerator.cxx:31:22: error: statement should be inside braces [readability-braces-around-statements,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenerator.cxx:43:12: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericStack.cxx:27:16: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericStack.cxx:28:16: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericStack.cxx:41:16: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericStack.cxx:42:16: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericStack.cxx:57:16: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericStack.cxx:64:22: error: statement should be inside braces [readability-braces-around-statements,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericStack.cxx:71:15: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericStack.cxx:72:16: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericStack.cxx:73:16: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericStack.cxx:82:21: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericStack.cxx:90:12: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericStack.cxx:130:43: error: statement should be inside braces [readability-braces-around-statements,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericStack.cxx:144:44: error: statement should be inside braces [readability-braces-around-statements,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericStack.cxx:171:32: error: statement should be inside braces [readability-braces-around-statements,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericVMCConfig.cxx:19:23: error: use '= default' to define a trivial default constructor [modernize-use-equals-default,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGenericVMCConfig.cxx:21:23: error: use '= default' to define a trivial destructor [modernize-use-equals-default,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGeoAsciiIo.cxx:26:10: error: inclusion of deprecated C++ header 'stdio.h'; consider using 'cstdio' instead [modernize-deprecated-headers,-warnings-as-errors]
/sw/SOURCES/O2/slc9_x86-64-slc9_x86-64/0/Detectors/3rdparty/FairRootBase/src/FairGeoAsciiIo.cxx:27:10: error: inclusion of deprecated C++ header 'string.h'; consider using 'cstring' instead [modernize-deprecated-headers,-warnings-as-errors]
[0 more errors; see full log]

Full log here.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants