Closed
Bug 43315
Opened 25 years ago
Closed 24 years ago
AIX xlC 5.0 compiler issue: access of protected structs
Categories
(SeaMonkey :: Build Config, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jdunn, Assigned: jdunn)
References
Details
Attachments
(1 file)
207 bytes,
text/plain
|
Details |
The AIX compiler is having problems with code of the form:
class A {
protected:
struct Impl {
int a;
}
};
class B : public A {
protected
char list[sizeof(Impl)];
}
giving an error of:
"protected.cpp", line 15.15: 1540-0301 (S) The "protected" member "struct
A::Impl" cannot be accessed
If you make the declaration of struct Impl public everything is fine.
declaring struct Impl friend on the otherhand does NOTHING!
Chris, the reason I copied you is because you added this code.
I think it is fine, but I figured I would copy you to let you
know the issue.
Basically this is a compiler bug and I am hoping to get IBM to
fix it, but I needed to log it. So no action is required on your part
adding mkaply at IBM since the OS/2 5.0 compiler will likely have
similar issues.
btw the code that this breaks in as at
line 69 of xpcom/ds/nsVoidArray.h
Comment 4•25 years ago
|
||
Reproduced and sent to IBM compiler team.
Comment 5•25 years ago
|
||
For my tracking purposes: IBM PMR #79943 -519-000
Comment 6•25 years ago
|
||
Defect #160227
Comment 7•25 years ago
|
||
This problem has been addressed by the VisualAge C++ compiler team. They
have fixed the problem in their development branch and will provide an
efix for this problem. However, they are hoping to address all three
compiler issues we have seen in Mozilla (43306, 43311, 43315) with one
efix. This seems to be a logical approach.
I have been told that the schedule for an efix (at least for 43315) may be
forthcoming as soon as Monday, November 6. I will update this bug with
pertinent information as it becomes available.
This has been fixed with the Feb updated to xlC/vacpp 5.0.x.
Closing
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•