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

Bug in MakeProxy std::map<int,std::vector<double,*>

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 6.04/18, 6.08/06, 6.20/04
    • Component/s: Cling, TTree
    • Labels:
      None
    • Environment:

      Description

      Hi,

      I was asked to submit a bug report from the ROOT forum. Running MakeProject on a particular ROOT file with multiple levels and external classes:

      >> root -l /afs/cern.ch/user/l/leyton/public/run_1044.root
      >> gFile->MakeProject("MyFile", "*", "recreate++");
      

      produces the following error:

      MakeProject has generated 5 classes in MyFile
      MyFile/MAKEP file has been generated
      In file included from input_line_11:3:
      In file included from ./MyFileProjectHeaders.h:1:
      ./EvRaw0.h:28:37: error: expected expression
       std::map<int,std::vector<double,*> > wf; //
       ^
      ./EvRaw0.h:28:39: error: expected a type
       std::map<int,std::vector<double,*> > wf; //
       ^
      Error: rootcint: compilation failure (./MyFileProjectDictd9d23b8e48_dictUmbrella.h)
      MyFileProjectSource.cxx:7:33: fatal error: MyFileProjectDict.cxx: No such file or directory
       #include "MyFileProjectDict.cxx"
       ^
      compilation terminated.
      

      Thanks and best regards,

      Michael

        Attachments

          Activity

            People

            • Assignee:
              pcanal Philippe Canal
              Reporter:
              leyton Michael Leyton
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: