1 | make: Circular external/fastjet/JetDefinition.hh <- external/fastjet/ClusterSequence.hh dependency dropped.
|
---|
2 | >> Compiling validation/DelphesValidation.cpp
|
---|
3 | In file included from validation/DelphesValidation.cpp:49:
|
---|
4 | external/ExRootAnalysis/ExRootTreeWriter.h:32:8: warning: 'ExRootTreeWriter::Clear' hides overloaded virtual function [-Woverloaded-virtual]
|
---|
5 | void Clear();
|
---|
6 | ^
|
---|
7 | /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)
|
---|
8 | virtual void Clear(Option_t *option ="");
|
---|
9 | ^
|
---|
10 | In file included from validation/DelphesValidation.cpp:49:
|
---|
11 | external/ExRootAnalysis/ExRootTreeWriter.h:34:8: warning: 'ExRootTreeWriter::Write' hides overloaded virtual functions [-Woverloaded-virtual]
|
---|
12 | void Write();
|
---|
13 | ^
|
---|
14 | /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)
|
---|
15 | virtual Int_t Write(const char *name=0, Int_t option=0, Int_t bufsize=0);
|
---|
16 | ^
|
---|
17 | /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)
|
---|
18 | virtual Int_t Write(const char *name=0, Int_t option=0, Int_t bufsize=0) const;
|
---|
19 | ^
|
---|
20 | validation/DelphesValidation.cpp:193:3: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete]
|
---|
21 | delete new_bins;
|
---|
22 | ^
|
---|
23 | []
|
---|
24 | validation/DelphesValidation.cpp:186:22: note: allocated with 'new[]' here
|
---|
25 | Axis_t *new_bins = new Axis_t[bins + 1];
|
---|
26 | ^
|
---|
27 | validation/DelphesValidation.cpp:1196:17: error: allocation of incomplete type 'TF1'
|
---|
28 | TF1 *f1 = new TF1("f1", "gaus", hist->GetMean() - 2 * hist->GetRMS(), hist->GetMean() + 2 * hist->GetRMS());
|
---|
29 | ^~~
|
---|
30 | /usr/local/Cellar/root/6.22.02/include/root/TGraph.h:36:7: note: forward declaration of 'TF1'
|
---|
31 | class TF1;
|
---|
32 | ^
|
---|
33 | validation/DelphesValidation.cpp:1199:37: error: member access into incomplete type 'TF1'
|
---|
34 | TF1 *f2 = new TF1("f2", "gaus", f1->GetParameter(1) - 2 * f1->GetParameter(2), f1->GetParameter(1) + 2 * f1->GetParameter(2));
|
---|
35 | ^
|
---|
36 | /usr/local/Cellar/root/6.22.02/include/root/TGraph.h:36:7: note: forward declaration of 'TF1'
|
---|
37 | class TF1;
|
---|
38 | ^
|
---|
39 | validation/DelphesValidation.cpp:1199:84: error: member access into incomplete type 'TF1'
|
---|
40 | TF1 *f2 = new TF1("f2", "gaus", f1->GetParameter(1) - 2 * f1->GetParameter(2), f1->GetParameter(1) + 2 * f1->GetParameter(2));
|
---|
41 | ^
|
---|
42 | /usr/local/Cellar/root/6.22.02/include/root/TGraph.h:36:7: note: forward declaration of 'TF1'
|
---|
43 | class TF1;
|
---|
44 | ^
|
---|
45 | validation/DelphesValidation.cpp:1202:20: error: member access into incomplete type 'TF1'
|
---|
46 | Double_t sig = f2->GetParameter(2);
|
---|
47 | ^
|
---|
48 | /usr/local/Cellar/root/6.22.02/include/root/TGraph.h:36:7: note: forward declaration of 'TF1'
|
---|
49 | class TF1;
|
---|
50 | ^
|
---|
51 | validation/DelphesValidation.cpp:1203:23: error: member access into incomplete type 'TF1'
|
---|
52 | Double_t sigErr = f2->GetParError(2);
|
---|
53 | ^
|
---|
54 | /usr/local/Cellar/root/6.22.02/include/root/TGraph.h:36:7: note: forward declaration of 'TF1'
|
---|
55 | class TF1;
|
---|
56 | ^
|
---|
57 | validation/DelphesValidation.cpp:1205:3: warning: deleting pointer to incomplete type 'TF1' may cause undefined behavior [-Wdelete-incomplete]
|
---|
58 | delete f1;
|
---|
59 | ^ ~~
|
---|
60 | /usr/local/Cellar/root/6.22.02/include/root/TGraph.h:36:7: note: forward declaration of 'TF1'
|
---|
61 | class TF1;
|
---|
62 | ^
|
---|
63 | validation/DelphesValidation.cpp:1206:3: warning: deleting pointer to incomplete type 'TF1' may cause undefined behavior [-Wdelete-incomplete]
|
---|
64 | delete f2;
|
---|
65 | ^ ~~
|
---|
66 | /usr/local/Cellar/root/6.22.02/include/root/TGraph.h:36:7: note: forward declaration of 'TF1'
|
---|
67 | class TF1;
|
---|
68 | ^
|
---|
69 | validation/DelphesValidation.cpp:1497:17: warning: unused variable 'branchParticleBJet' [-Wunused-variable]
|
---|
70 | TClonesArray *branchParticleBJet = treeReaderBJet->UseBranch("Particle");
|
---|
71 | ^
|
---|
72 | validation/DelphesValidation.cpp:1500:17: warning: unused variable 'branchParticleCJet' [-Wunused-variable]
|
---|
73 | TClonesArray *branchParticleCJet = treeReaderCJet->UseBranch("Particle");
|
---|
74 | ^
|
---|
75 | 7 warnings and 5 errors generated.
|
---|
76 | make: *** [tmp/validation/DelphesValidation.o] Error 1
|
---|