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

Autoloader (parser?) tries to follow #includes from LinkDef.h

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 6.06/00
    • Fix Version/s: 6.06/02
    • Component/s: None
    • Labels:
      None
    • Environment:

      lxplus

      Description

      ROOT 6.6 shows the following error at runtime:
      Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState:
      Missing FileEntry for LinkDef.h
      requested to autoload type MyClass

      This is apparently because the LinkDef.h file contains an #include for the header with this class definition. We don't expose LinkDef.h files at runtime. And this situation is present in many of ATLAS LinkDef.h files, so we would prefer a fix on the ROOT side.

      Reproducer attached. Run with "sh run.sh"
      Cheers,
      Marcin

        Attachments

          Activity

            People

            • Assignee:
              pcanal Philippe Canal
              Reporter:
              mnowak Marcin Nowak
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Actual End: