Closed
Bug 945587
Opened 11 years ago
Closed 11 years ago
nsXULTemplateResultStorage.cpp:12:22: error: redefinition of 'kRDFServiceCID' when building with 12 unified sources instead of 16
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
FIXED
mozilla28
People
(Reporter: glandium, Assigned: ehsan.akhgari)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file)
4.59 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
Open python/mozbuild/mozbuild/backend/recursivemake.py, search for files_per_unification, replace its value (16) with 12. This is the (one of the multiple) error(s) you can get then: content/xul/templates/src/nsXULTemplateResultStorage.cpp:12:22: error: redefinition of 'kRDFServiceCID' static NS_DEFINE_CID(kRDFServiceCID, NS_RDFSERVICE_CID); ^ ../../../../dist/include/nsID.h:86:15: note: expanded from macro 'NS_DEFINE_CID' const nsCID _name = _cidspec ^ content/xul/templates/src/nsXULContentUtils.cpp:64:22: note: previous definition is here static NS_DEFINE_CID(kRDFServiceCID, NS_RDFSERVICE_CID);
Reporter | ||
Comment 1•11 years ago
|
||
This should probably be made about all the possible similar cases in the tree, that are just future bugs in hiding. The pattern being static NS_DEFINE_CID at global scope for the same symbol, in the same directory.
Assignee | ||
Comment 2•11 years ago
|
||
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → ehsan
Assignee | ||
Updated•11 years ago
|
Attachment #8341677 -
Flags: review?(bzbarsky)
Comment 3•11 years ago
|
||
Comment on attachment 8341677 [details] [diff] [review] Stop using the kRDFServiceCID name in content/xul r=me
Attachment #8341677 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 4•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/582c563a8e1a
Assignee | ||
Comment 5•11 years ago
|
||
Backed out because apparently f({0, 1, ...}) is not C++? https://hg.mozilla.org/integration/mozilla-inbound/rev/38ddf36afa9d
Assignee | ||
Comment 6•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/65b997a2db9a
Comment 7•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/65b997a2db9a
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Updated•10 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•