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)

SGI
IRIX
defect
Not set
critical

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
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
Hardware: Other → SGI
*** Bug 210299 has been marked as a duplicate of this bug. ***
this was probably worked around by the checkin for bug 209328
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)'.  
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)
Per Boris' comment (bug 209328 comment #32). As soon as I get r/sr and the tree
is opened, I'll land this.
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.
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
Severity: blocker → critical
Assignee: dougt → nobody
QA Contact: scc → xpcom
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.

Attachment

General

Creator:
Created:
Updated:
Size: