Closed
Bug 1181382
Opened 9 years ago
Closed 9 years ago
Building with clang tip fails: "declaration conflicts with target of using declaration already in scope" (Promise)
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla42
Tracking | Status | |
---|---|---|
firefox42 | --- | fixed |
People
(Reporter: jruderman, Assigned: jruderman)
Details
Attachments
(1 file)
680 bytes,
patch
|
hsinyi
:
review+
freesamael
:
feedback+
|
Details | Diff | Splinter Review |
In file included from /Users/jruderman/builds/mozilla-central-asan-opt/dom/base/Unified_cpp_dom_base1.cpp:137:
In file included from /Users/jruderman/trees/mozilla-central/dom/base/Navigator.cpp:42:
../../dist/include/mozilla/dom/MobileMessageManager.h:17:1: error: declaration conflicts with target of using declaration already in scope
class Promise;
^
../../dist/include/mozilla/dom/Promise.h:73:7: note: target of using declaration
class Promise : public nsISupports,
^
/Users/jruderman/trees/mozilla-central/dom/base/DOMRequest.cpp:22:21: note: using declaration
using mozilla::dom::Promise;
^
Assignee | ||
Comment 1•9 years ago
|
||
This seems to fix it.
The offending line was added in https://hg.mozilla.org/mozilla-central/rev/e7150eb09fa3
Attachment #8630811 -
Flags: review?(htsai)
Attachment #8630811 -
Flags: feedback?(sawang)
Comment 2•9 years ago
|
||
Comment on attachment 8630811 [details] [diff] [review]
patch suggested by heycam
Review of attachment 8630811 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks for the catch.
Attachment #8630811 -
Flags: review?(htsai) → review+
Comment 3•9 years ago
|
||
Comment on attachment 8630811 [details] [diff] [review]
patch suggested by heycam
Review of attachment 8630811 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks for the fix.
Attachment #8630811 -
Flags: feedback?(sawang) → feedback+
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → jruderman
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•