Closed
Bug 1431030
Opened 7 years ago
Closed 7 years ago
Ignore the automatic formatting of the NS_NPAPIPLUGIN_CALLBACK definitions
Categories
(Developer Infrastructure :: Source Code Analysis, defect)
Developer Infrastructure
Source Code Analysis
Tracking
(firefox59 fixed)
RESOLVED
FIXED
mozilla59
Tracking | Status | |
---|---|---|
firefox59 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: Sylvestre)
References
Details
Attachments
(1 file)
Playing with different coding styles, the NS_NPAPIPLUGIN_CALLBACK definition can be altered and causing the build to fail on Windows
#if defined(XP_WIN)
-#define NS_NPAPIPLUGIN_CALLBACK(_type, _name) _type (__stdcall * _name)
+#define NS_NPAPIPLUGIN_CALLBACK(_type, _name) _type(__stdcall *_name)
#else
-#define NS_NPAPIPLUGIN_CALLBACK(_type, _name) _type (* _name)
+#define NS_NPAPIPLUGIN_CALLBACK(_type, _name) _type(*_name)
#endif
INFO - z:\build\build\src\dom\plugins\base\nsNPAPIPlugin.h(18): error C2220: warning treated as error - no 'object' file generated
INFO - z:\build\build\src\dom\plugins\base\nsNPAPIPlugin.h(18): warning C4005: 'NS_NPAPIPLUGIN_CALLBACK': macro redefinition
INFO - z:\build\build\src\obj-firefox\dist\include\mozilla/plugins/PluginModuleChild.h(38): note: see previous definition of 'NS_NPAPIPLUGIN_CALLBACK'
I propose that we disable the automatic formatting for this.
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
status-firefox59:
--- → affected
status-firefox60:
affected → ---
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8943176 [details]
Bug 1431030 - Ignore the automatic formatting of the NS_NPAPIPLUGIN_CALLBACK definitions
https://reviewboard.mozilla.org/r/213512/#review219364
Attachment #8943176 -
Flags: review?(jmathies) → review+
Pushed by sledru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2fdccaab2e7c
Ignore the automatic formatting of the NS_NPAPIPLUGIN_CALLBACK definitions r=jimm
Comment 4•7 years ago
|
||
Backed out changeset 2fdccaab2e7c (bug 1431030) for build bustages on a CLOSED TREE
https://treeherder.mozilla.org/logviewer.html#?job_id=157107322&repo=autoland&lineNumber=17690
https://hg.mozilla.org/integration/autoland/rev/668b67f1c900d6c1a1ca19006fb4cf340b30a436
https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=2fdccaab2e7c887b55455384c27f8c6344f01e4f&filter-classifiedState=unclassified&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception
Flags: needinfo?(sledru)
Comment hidden (mozreview-request) |
Pushed by sledru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e1903f1d75e0
Ignore the automatic formatting of the NS_NPAPIPLUGIN_CALLBACK definitions r=jimm
Comment 8•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Updated•7 years ago
|
Product: Core → Firefox Build System
Updated•2 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•