Closed Bug 198773 Opened 21 years ago Closed 7 years ago

Unsafe cast of pointer/reference

Categories

(Core :: XPCOM, defect)

HP
Other
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: m4341, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3b) Gecko/20030210
Build Identifier: Mozilla/5.0 Version 1.3, attempted build under HP-UX with HP compilers/linkers

Building under HP-UX 11.00/32-bit results in the following warning, best
displayed with fixed-width font:

Warning 740: "../../dist/include/xpcom/xptinfo.h", line 258 # Unsafe cast betwee
n pointers/references to incomplete classes: casting 'const XPTConstValue *' to
'nsXPTCMiniVariant *'.
            {return (nsXPTCMiniVariant*) &value;}
                                         ^


Reproducible: Always

Steps to Reproduce:
1.
2.
3.
-> xpconnect
Assignee: seawood → dbradley
Component: Build Config → XPConnect
QA Contact: granrose → pschwartau
Hardware: Other → HP
Formally confirming for consideration -
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: dbradley → nobody
QA Contact: pschwartau → xpconnect
Status: NEW → RESOLVED
Closed: 7 years ago
Component: XPConnect → XPCOM
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.