Closed Bug 237682 Opened 21 years ago Closed 21 years ago

AIX: Warnings about missing nsACString copy constructor

Categories

(Core :: XPCOM, defect)

Other
AIX
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: pkwarren, Assigned: pkwarren)

Details

Attachments

(1 file)

Several errors like the following are showing up in recent builds after the big string change: "/home/tbox/builds/tinderbox/AIX_5.1_Clobber/mozilla/modules/libpref/src/prefapi.cpp", line 365.43: 1540-0306 (W) The "private" copy constructor "nsACString(const self_type &)" cannot be accessed. "/home/tbox/builds/tinderbox/AIX_5.1_Clobber/mozilla/modules/libpref/src/prefapi.cpp", line 365.43: 1540-0308 (I) The semantics specify that a temporary object must be constructed. "/home/tbox/builds/tinderbox/AIX_5.1_Clobber/mozilla/modules/libpref/src/prefapi.cpp", line 365.43: 1540-0309 (I) The temporary is not constructed, but the copy constructor must be accessible. This problem looks similar to the one described in Bug 235273 for Sun Workshop builds.
Attached patch Patch v1Splinter Review
Allows creation of the default copy constructor on AIX when using the VisualAge C++ compiler.
Attachment #144056 - Flags: superreview+
Attachment #144056 - Flags: review+
Comment on attachment 144056 [details] [diff] [review] Patch v1 change nsTStringTuple back to nsTSubstringTuple. i checked in that typo fix while we were talking over IRC.
Comment on attachment 144056 [details] [diff] [review] Patch v1 requesting 1.7b approval for an AIX only patch
Attachment #144056 - Flags: approval1.7b?
Attachment #144056 - Flags: approval1.7b? → approval1.7?
Comment on attachment 144056 [details] [diff] [review] Patch v1 a=asa (on behalf of drivers) for checkin to 1.7
Attachment #144056 - Flags: approval1.7? → approval1.7+
Fix checked in (with change to nsTSubstringTuple in comment). Checking in nsTAString.h; /cvsroot/mozilla/xpcom/string/public/nsTAString.h,v <-- nsTAString.h new revision: 1.8; previous revision: 1.7 done
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Assignee: string → pkwarren
Component: String → XPCOM
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: