sphenix-tracking-l AT lists.bnl.gov
Subject: sPHENIX tracking discussion
List archive
[Sphenix-tracking-l] Reset in coresoftware/offline/packages/trackbase/TrkrClusterHitAssocv3.cc
- From: pinkenburg <pinkenburg AT bnl.gov>
- To: sphenix-tracking <sphenix-tracking-l AT lists.bnl.gov>
- Subject: [Sphenix-tracking-l] Reset in coresoftware/offline/packages/trackbase/TrkrClusterHitAssocv3.cc
- Date: Sat, 5 Nov 2022 10:05:39 -0400
Hi folks,
gcc 12 gives a warning about dangling pointers in the Reset method of this class from the local map (thismap and empty_map). It looks like an attempt to force the freeing of memory allocated by the map (can we test if this actually works?), but given the compiler warning I would propose to look for another solution.
Right now the warning will be suppressed in the configure.ac (-Wno-dangling-pointer) to get this code through
Chris
--
*************************************************************
Christopher H. Pinkenburg ; pinkenburg AT bnl.gov
; http://www.phenix.bnl.gov/~pinkenbu
Brookhaven National Laboratory ; phone: (631) 344-5692
Physics Department Bldg 510 C ; fax: (631) 344-3253
Upton, NY 11973-5000
*************************************************************
-
[Sphenix-tracking-l] Reset in coresoftware/offline/packages/trackbase/TrkrClusterHitAssocv3.cc,
pinkenburg, 11/05/2022
- Re: [Sphenix-tracking-l] Reset in coresoftware/offline/packages/trackbase/TrkrClusterHitAssocv3.cc, Anthony Frawley, 11/05/2022
Archive powered by MHonArc 2.6.24.