Closed
Bug 204058
Opened 23 years ago
Closed 23 years ago
HP build error when building nsSOAPEncoding.cpp
Categories
(Core Graveyard :: Web Services, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: jdunn, Assigned: mozilla)
Details
the HP aCC compiler complains when building this file:
Error 251:
"/builds/jdunn/trunk/mozilla/extensions/webservices/soap/src/nsSOAPEncoding.cpp",
line 61 # 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.
NS_DELETEXPCOM(aData);
^^^^^^^^^^^^^^
gmake[1]: *** [nsSOAPEncoding.o] Error 2
gmake: *** [all] Error 2
NS_DELETEXPCOM translates to "do { ; delete (aData); } while (0) ;"
and aData is passed in as a "void *". The proper way is to delete
free(aData), or to track down what aData is new'd as and then
"delete <cast> (aData);"
Comment 2•23 years ago
|
||
I think Harish may know about what introduced this problem.
Assignee: rayw → harishd
| Assignee | ||
Comment 3•23 years ago
|
||
taking SOAP bugs
Hey, are you still seeing this? thought I checked in a fix for this.
Assignee: harishd → jgaunt
Comment 4•23 years ago
|
||
Yes its fixed, HP aCC builds are going through fine..
| Assignee | ||
Comment 5•23 years ago
|
||
this has been fixed by a checkin to another bug
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•