LibFuzzerTestHarness.h:78:1: error: a storage class can only be specified for objects and functions

RESOLVED FIXED in Firefox 53

Status

()

Core
Platform Fuzzing Team
RESOLVED FIXED
9 months ago
9 months ago

People

(Reporter: glandium, Assigned: glandium)

Tracking

unspecified
mozilla53
Points:
---

Firefox Tracking Flags

(firefox53 fixed)

Details

MozReview Requests

()

Submitter Diff Changes Open Issues Last Updated
Loading...
Error loading review requests:

Attachments

(1 attachment)

(Assignee)

Description

9 months ago
When building with --enable-fuzzing with GCC, I get the following error:

LibFuzzerTestHarness.h:78:1: error: a storage class can only be specified for objects and functions
static class ScopedXPCOM : public nsIDirectoryServiceProvider2
^~~~~~
Comment hidden (mozreview-request)

Comment 2

9 months ago
mozreview-review
Comment on attachment 8826018 [details]
Bug 1330481 - Fix "error: a storage class can only be specified for objects and functions".

https://reviewboard.mozilla.org/r/104056/#review106400

Interesting, I think I just copied this code from the other location where we use ScopedXPCOM. Thanks!
Attachment #8826018 - Flags: review?(choller) → review+

Comment 3

9 months ago
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/065803891c85
Fix "error: a storage class can only be specified for objects and functions". r=decoder

Comment 4

9 months ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/065803891c85
Status: NEW → RESOLVED
Last Resolved: 9 months ago
status-firefox53: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
You need to log in before you can comment on or make changes to this bug.