Opened 11 years ago
Closed 11 years ago
#24 closed defect (fixed)
Compilation problems in lxplus6 at CERN
Reported by: | wesmilanes | Owned by: | Thomas Latham |
---|---|---|---|
Priority: | minor | Milestone: | v2r1 |
Version: | v2r0 | Keywords: | compilation lxplus6 |
Cc: |
Description
Compilation fail with the following output:
tmp/Laura++Cint.cc: In function ‘void ROOT::delete_LauFitter(void*)’: tmp/Laura++Cint.cc:8264:30: error: deleting object of polymorphic class type ‘LauFitter’ which has non-virtual destructor might cause undefined behaviour [-Werror=delete-non-virtual-dtor]
delete ((::LauFitter*)p);
tmp/Laura++Cint.cc: In function ‘int GLaurapLpLCint_820_0_17(Gvalue*, const char*, Gparam*, int)’: tmp/Laura++Cint.cc:23002:28: error: deleting object of polymorphic class type ‘LauFitter’ which has non-virtual destructor might cause undefined behaviour [-Werror=delete-non-virtual-dtor]
delete (LauFitter*) soff;
cc1plus: all warnings being treated as errors
Change History (4)
comment:1 Changed 11 years ago by
Status: | new → assigned |
---|
comment:2 Changed 11 years ago by
Status: | assigned → testing |
---|
comment:4 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | testing → closed |
(In [97]) Fix compilation error in LauFitter (and at the same time audit the special functions). oktotest #24 addresses #17