make: Circular external/fastjet/JetDefinition.hh <- external/fastjet/ClusterSequence.hh dependency dropped. >> Compiling validation/DelphesValidation.cpp In file included from validation/DelphesValidation.cpp:49: external/ExRootAnalysis/ExRootTreeWriter.h:32:8: warning: 'ExRootTreeWriter::Clear' hides overloaded virtual function [-Woverloaded-virtual] void Clear(); ^ /usr/local/Cellar/root/6.22.02/include/root/TNamed.h:42:21: note: hidden overloaded virtual function 'TNamed::Clear' declared here: different number of parameters (1 vs 0) virtual void Clear(Option_t *option =""); ^ In file included from validation/DelphesValidation.cpp:49: external/ExRootAnalysis/ExRootTreeWriter.h:34:8: warning: 'ExRootTreeWriter::Write' hides overloaded virtual functions [-Woverloaded-virtual] void Write(); ^ /usr/local/Cellar/root/6.22.02/include/root/TObject.h:148:24: note: hidden overloaded virtual function 'TObject::Write' declared here: different number of parameters (3 vs 0) virtual Int_t Write(const char *name=0, Int_t option=0, Int_t bufsize=0); ^ /usr/local/Cellar/root/6.22.02/include/root/TObject.h:149:24: note: hidden overloaded virtual function 'TObject::Write' declared here: different number of parameters (3 vs 0) virtual Int_t Write(const char *name=0, Int_t option=0, Int_t bufsize=0) const; ^ validation/DelphesValidation.cpp:193:3: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete new_bins; ^ [] validation/DelphesValidation.cpp:186:22: note: allocated with 'new[]' here Axis_t *new_bins = new Axis_t[bins + 1]; ^ validation/DelphesValidation.cpp:1196:17: error: allocation of incomplete type 'TF1' TF1 *f1 = new TF1("f1", "gaus", hist->GetMean() - 2 * hist->GetRMS(), hist->GetMean() + 2 * hist->GetRMS()); ^~~ /usr/local/Cellar/root/6.22.02/include/root/TGraph.h:36:7: note: forward declaration of 'TF1' class TF1; ^ validation/DelphesValidation.cpp:1199:37: error: member access into incomplete type 'TF1' TF1 *f2 = new TF1("f2", "gaus", f1->GetParameter(1) - 2 * f1->GetParameter(2), f1->GetParameter(1) + 2 * f1->GetParameter(2)); ^ /usr/local/Cellar/root/6.22.02/include/root/TGraph.h:36:7: note: forward declaration of 'TF1' class TF1; ^ validation/DelphesValidation.cpp:1199:84: error: member access into incomplete type 'TF1' TF1 *f2 = new TF1("f2", "gaus", f1->GetParameter(1) - 2 * f1->GetParameter(2), f1->GetParameter(1) + 2 * f1->GetParameter(2)); ^ /usr/local/Cellar/root/6.22.02/include/root/TGraph.h:36:7: note: forward declaration of 'TF1' class TF1; ^ validation/DelphesValidation.cpp:1202:20: error: member access into incomplete type 'TF1' Double_t sig = f2->GetParameter(2); ^ /usr/local/Cellar/root/6.22.02/include/root/TGraph.h:36:7: note: forward declaration of 'TF1' class TF1; ^ validation/DelphesValidation.cpp:1203:23: error: member access into incomplete type 'TF1' Double_t sigErr = f2->GetParError(2); ^ /usr/local/Cellar/root/6.22.02/include/root/TGraph.h:36:7: note: forward declaration of 'TF1' class TF1; ^ validation/DelphesValidation.cpp:1205:3: warning: deleting pointer to incomplete type 'TF1' may cause undefined behavior [-Wdelete-incomplete] delete f1; ^ ~~ /usr/local/Cellar/root/6.22.02/include/root/TGraph.h:36:7: note: forward declaration of 'TF1' class TF1; ^ validation/DelphesValidation.cpp:1206:3: warning: deleting pointer to incomplete type 'TF1' may cause undefined behavior [-Wdelete-incomplete] delete f2; ^ ~~ /usr/local/Cellar/root/6.22.02/include/root/TGraph.h:36:7: note: forward declaration of 'TF1' class TF1; ^ validation/DelphesValidation.cpp:1497:17: warning: unused variable 'branchParticleBJet' [-Wunused-variable] TClonesArray *branchParticleBJet = treeReaderBJet->UseBranch("Particle"); ^ validation/DelphesValidation.cpp:1500:17: warning: unused variable 'branchParticleCJet' [-Wunused-variable] TClonesArray *branchParticleCJet = treeReaderCJet->UseBranch("Particle"); ^ 7 warnings and 5 errors generated. make: *** [tmp/validation/DelphesValidation.o] Error 1