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

Bad interaction of TTreeViewer vs cling

    XMLWordPrintable

    Details

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

      Linux

      Description

      root [0] new TTreeViewer
      (TTreeViewer *) 0x2c77630
      (TTreeViewer *) 0x2c77630
      root [1] new TTreeViewer
      input_line_44:2:15: error: redefinition of 'gTV'
       TTreeViewer *gTV = (TTreeViewer*)0x4027000
                    ^
      input_line_31:2:15: note: previous definition is here
       TTreeViewer *gTV = (TTreeViewer*)0x2c77630
                    ^
      input_line_45:2:9: error: redefinition of 'tv__tree'
       TTree *tv__tree = 0;
              ^
      input_line_35:2:9: note: previous definition is here
       TTree *tv__tree = 0;
              ^
      input_line_46:2:9: error: redefinition of 'tv__tree_list'
       TList *tv__tree_list = new TList;
              ^
      input_line_36:2:9: note: previous definition is here
       TList *tv__tree_list = new TList;
              ^
      input_line_47:2:9: error: redefinition of 'tv__tree_file'
       TFile *tv__tree_file = 0;
              ^
      input_line_37:2:9: note: previous definition is here
       TFile *tv__tree_file = 0;
              ^
      (TTreeViewer *) 0x4027000

      See also https://root-forum.cern.ch/t/problem-opening-a-second-root-file-within-same-root-session-via-tbrowser/24003

        Attachments

          Activity

            People

            • Assignee:
              bellenot Bertrand Bellenot
              Reporter:
              axel Axel Naumann
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Actual End: