Closed
Bug 210297
Opened 21 years ago
Closed 12 years ago
T * operator of nsAutoPtr doesn't work with MIPSpro 7.3(IRIX) and Cxx(Tru64)
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: avi, Unassigned)
References
Details
Attachments
(1 file)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3.1) Gecko/20030425 Build Identifier: CVS pull 21-06-2003 After some conversation on irc.mozilla.org, the resident guru's (timeles|bz|biesi) decided that what I was seeing is a bug in XPCOMM. Here's the exact make trace at the point of breakage: cc-1278 CC: ERROR File = nsUTF8ConverterService.cpp, Line = 80 No instance of overloaded function "Substring" matches the argument list. The argument types are: (nsAutoPtr<PRUnichar>, PRUnichar*). CopyUTF16toUTF8(Substring(ustr, ustr + dstLen), aResult); ^ 1 error detected in the compilation of "nsUTF8ConverterService.cpp". Reproducible: Always Steps to Reproduce: gmake Using MIPSpro 7.3 with gmake 3.79.1, on r10k O2, and IRIX 6.5.19m
Comment 1•21 years ago
|
||
So the question is why the T* operator is not working.... there are some comments about Irix and ambiguity issues in nsAutoPtr.h/nsCOMPtr.h, but none in the relevant part of the file...
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: other → IRIX
Updated•21 years ago
|
Hardware: Other → SGI
Comment 2•21 years ago
|
||
*** Bug 210299 has been marked as a duplicate of this bug. ***
Comment 3•21 years ago
|
||
this was probably worked around by the checkin for bug 209328
Comment 4•21 years ago
|
||
I guess Christian is right about my work-around. Cxx compiler on Tru64 has the same problem. Perhaps, the summary line has to be changed to " T * operator os nsAutoPtr doesn't work with MIPSpro 7.3(Irix) and Cxx(Tru64)'.
Comment 5•21 years ago
|
||
changing the summary line and adding s.shanmuganathan@digital.com to CC for Cxx on Tru64.
Summary: CVS of 21-06-2003 wont build on IRIX using MIPSpro 7.3 → T * operator of nsAutoPtr doesn't work with MIPSpro 7.3(IRIX) and Cxx(Tru64)
Comment 6•21 years ago
|
||
Per Boris' comment (bug 209328 comment #32). As soon as I get r/sr and the tree is opened, I'll land this.
Comment 7•21 years ago
|
||
I'd like to see dbaron's and sicking's (and scc's, if he's reading bugmail) comments before we check anything in here, please.
I probably prefer the .get() workaround. I had to check in similar workarounds back when we had the global GetStyleData function template. It would be nice to have an IRIX tinderbox so that we can see these things...
yeah, the .get() looks better to me too. If this happens often for Substring we should consider adding a version that takes an nsAutoPtr/nsAutoArrayPtr, but lets cross that bridge if we get there.
Comment 10•21 years ago
|
||
I understand from cls that the IRIX tinderbox system has a problem so is offline till it can get fixed. In the mean time, SGI will work on setting up a new tinderbox. Victor Riley
Updated•18 years ago
|
Severity: blocker → critical
Updated•18 years ago
|
Assignee: dougt → nobody
QA Contact: scc → xpcom
Comment 11•12 years ago
|
||
IRIX build support got removed with bug 680792
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•