Details
-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Low
-
Resolution: Fixed
-
Affects Version/s: 6.20/00
-
Fix Version/s: 6.22/00
-
Component/s: TMVA
-
Labels:None
-
Environment:
Linux, Intel compiler 19.1.0 using libraries from gcc 8.1.0
Issues appears in c++ 11, 14, and 17
Description
This line uses empty initializer lists in a way that is supported by gcc8.1 but not by intel 19.1. The issue relates to http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1467
I believe in this situation, default constructors could be used instead:
"()" instead of "{}"
which is compatible with intel 19.1 and has no downsides I'm aware of.