Closed Bug 5077 Opened 26 years ago Closed 26 years ago

ANSI C++ violation in layout/html/forms/src/nsFormFrame.cpp

Categories

(Core :: DOM: Core & HTML, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: bruce, Assigned: pollmann)

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/html/forms/src/nsFormFrame.cpp", line 151 # 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 mEntries.ElementAt(i); ^^^^^^^^^^^^^^^^^^^^^ Error (future) 250: "../../../../../layout/html/forms/src/nsFormFrame.cpp", line 193 # 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 mEntries.ElementAt(i); ^^^^^^^^^^^^^^^^^^^^^
beppe, i'm not sure what to do with this one. who should we qa-assign this to?
Assignee: karnaze → pollmann
Target Milestone: M6
Eric, when you remove the nsFormFrameTable this bug will be fixed.
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
karnaze@netscape.com removed this code today.
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.