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

ProcessLine behaves differently if an include statement is present in the text passed to it

    XMLWordPrintable

    Details

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

      linux/osx

    • Development:

      Description

      If an include statement is present in the text passed to ProcessLine, the method behaves like Declare:

      gInterpreter->ProcessLine("void g(){};") ; //Will fail
      gInterpreter->ProcessLine("#include \"TH1F.h\"\nvoid g(){};") ; //Will succeed and g will be available

        Attachments

          Activity

            People

            Assignee:
            axel Axel Naumann
            Reporter:
            dpiparo Danilo Piparo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: