Closed
Bug 872031
Opened 11 years ago
Closed 11 years ago
clang 3.3 compile errors in accessible/src/mac/AccessibleWrap.mm
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: froydnj, Unassigned)
References
Details
Attachments
(1 file)
1.23 KB,
patch
|
tbsaunde
:
review+
hub
:
review+
|
Details | Diff | Splinter Review |
/Users/froydnj/src/mozilla-central-official/accessible/src/mac/AccessibleWrap.mm:37:37: error: expected expression mNativeObject = [[GetNativeType() alloc] initWithAccessible:this]; ^ /Users/froydnj/src/mozilla-central-official/accessible/src/mac/AccessibleWrap.mm:193:20: error: expected expression [GetNativeObject() invalidateChildren]; ^ 2 errors generated.
Reporter | ||
Comment 1•11 years ago
|
||
I don't pretend to understand exactly what Objective-C++ wants here, but helping the compiler out by making the method call expression explicit appears to help.
Attachment #749292 -
Flags: review?(trev.saunders)
Comment 2•11 years ago
|
||
Comment on attachment 749292 [details] [diff] [review] fix clang 3.3 compile errors in AccessibleWrap.mm Looks good to me. I have no idea what the changed in clang 3.3 but this is what is expected: calling GetNativeType() and GetNativeObject() on this. (I'm not peer of the module, but I was the maintainer of the Mac code)
Attachment #749292 -
Flags: review+
Comment 3•11 years ago
|
||
I really mean: wait that Trevor reviews it too. His call.
Comment 4•11 years ago
|
||
Comment on attachment 749292 [details] [diff] [review] fix clang 3.3 compile errors in AccessibleWrap.mm I don't understnad the error message or what is or isn't wrong, but seems harmless so r=me
Attachment #749292 -
Flags: review?(trev.saunders) → review+
Reporter | ||
Comment 5•11 years ago
|
||
I think this was really just seen in clang HEAD builds and they probably fixed it at some point...
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•