| Summary: | [super dealloc] missing in Source/JavaScriptCore/API/tests/testapi.mm, fails to build with -Werror,-Wobjc-missing-super-calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | David Farler <dfarler> | ||||||
| Component: | JavaScriptCore | Assignee: | David Farler <dfarler> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | commit-queue, ddkilzer, ggaren, mrowe | ||||||
| Priority: | P2 | ||||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | Mac | ||||||||
| OS: | All | ||||||||
| Attachments: |
|
||||||||
|
Description
David Farler
2014-01-03 12:54:01 PST
Created attachment 220331 [details]
Patch
Comment on attachment 220331 [details]
Patch
This'll break the 64-bit build.
The file is built with ARC enabled on all architectures that support it (e.g., everything but i386), and [super dealloc] will generate an error under ARC. Comment on attachment 220331 [details]
Patch
It looks like we've been using "#if !__has_feature(objc_arc)" to handle stuff like this.
Nice, that’s exactly what I was testing locally. Created attachment 220357 [details]
Patch
Comment on attachment 220357 [details]
Patch
r=me
Comment on attachment 220357 [details]
Patch
Thanks!
Comment on attachment 220357 [details] Patch Clearing flags on attachment: 220357 Committed r161304: <http://trac.webkit.org/changeset/161304> All reviewed patches have been landed. Closing bug. |