Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-10578

TMVA::Experimental Intel compiler support

    XMLWordPrintable

    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

      https://github.com/root-project/root/blob/ae4cb2de88fdbce97238ee81a5f9388f96f5ecc8/tmva/tmva/inc/TMVA/RTensor.hxx#L115

      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.

        Attachments

          Activity

            People

            • Assignee:
              swunsch Stefan Wunsch
              Reporter:
              0980fe81ea5b032e3389 Jason Brodsky
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: