Closed Bug 5076 Opened 26 years ago Closed 25 years ago

ANSI C++ violation in layout/base/src/nsContentList.cpp

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: bruce, Assigned: vidur)

Details

This will cause the HP build to fail in the future, but for now, it will also cause the deleted object to not be destructed properly. Error (future) 250: "../../../../layout/base/src/nsContentList.cpp", line 106 # An object cannot be deleted using a pointer of type 'void *' since the type of the object allocated is unknown. Either delete the object using the allocated type or call operator delete directly. delete mData; ^^^^^
Assignee: troy → vidur
Vidur, the CVS log made it look like this is one of your files
Status: NEW → ASSIGNED
Target Milestone: M7
Severity: normal → critical
This is now causing the HP-UX build to fail as the compiler was upgraded.
I have a temporary fix and will see if I can get it in for M6.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Target Milestone: M7 → M6
Checked a fix into M6.
Status: RESOLVED → VERIFIED
Fixed in 5/17 Build.
You need to log in before you can comment on or make changes to this bug.