Closed Bug 1616889 Opened 5 years ago Closed 5 years ago

Cannot build firefox with clang from trunk

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1616181

People

(Reporter: calixte, Unassigned)

Details

When building firefox with clang from trunk (rev 1f984c83a41bb68b8af4998a7f68876d52bff872), I get an error:

0:35.90 In file included from Unified_cpp_dom_base2.cpp:20:
10:35.90 In file included from /home/calixte/dev/mozilla/mozilla-central.hg/dom/base/Document.cpp:272:
10:35.90 In file included from /home/calixte/dev/mozilla/mozilla-central.hg/obj-x86_64-pc-linux-gnu/dist/include/mozilla/dom/HTMLInputElement.h:28:
10:35.90 In file included from /home/calixte/dev/mozilla/mozilla-central.hg/obj-x86_64-pc-linux-gnu/dist/include/SingleLineTextInputTypes.h:10:
10:35.90 /home/calixte/dev/mozilla/mozilla-central.hg/obj-x86_64-pc-linux-gnu/dist/include/InputType.h:236:41: error: reference to 'InputType' is ambiguous
10:35.90   void operator()(::InputType* p) { p->~InputType(); }
10:35.90                                         ^
10:35.90 /home/calixte/dev/mozilla/mozilla-central.hg/obj-x86_64-pc-linux-gnu/dist/include/InputType.h:35:7: note: candidate found by name lookup is 'InputType'
10:35.90 class InputType {
10:35.90       ^
10:35.90 /home/calixte/dev/mozilla/mozilla-central.hg/widget/InputData.h:39:3: note: candidate found by name lookup is 'mozilla::InputType'
10:35.90   InputType, (
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.