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

Bad interaction of TTreeViewer vs cling

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 6.10/00
    • None
    • GUI
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:
              Actual End: