Closed Bug 204058 Opened 23 years ago Closed 23 years ago

HP build error when building nsSOAPEncoding.cpp

Categories

(Core Graveyard :: Web Services, defect)

HP
HP-UX
defect
Not set
normal

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);"
changing components
Component: XML → Web Services
I think Harish may know about what introduced this problem.
Assignee: rayw → harishd
taking SOAP bugs Hey, are you still seeing this? thought I checked in a fix for this.
Assignee: harishd → jgaunt
Yes its fixed, HP aCC builds are going through fine..
this has been fixed by a checkin to another bug
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.