Closed
Bug 1409579
Opened 8 years ago
Closed 8 years ago
Error from redefinition of PATH_MAX in dom/system/OSFileConstants.cpp
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla58
| Tracking | Status | |
|---|---|---|
| firefox58 | --- | fixed |
People
(Reporter: tjr, Assigned: tjr)
References
Details
Attachments
(1 file)
> In file included from /builds/worker/workspace/build/src/obj-firefox/dom/system/Unified_cpp_dom_system0.cpp:2:0:
> /builds/worker/workspace/build/src/dom/system/OSFileConstants.cpp:44:0: error: "PATH_MAX" redefined [-Werror]
> #define PATH_MAX MAX_PATH
> In file included from /builds/worker/workspace/build/src/gcc/lib/gcc/i686-w64-mingw32/6.4.0/include-fixed/limits.h:168:0,
> from /builds/worker/workspace/build/src/gcc/lib/gcc/i686-w64-mingw32/6.4.0/include-fixed/syslimits.h:7,
> from /builds/worker/workspace/build/src/gcc/lib/gcc/i686-w64-mingw32/6.4.0/include-fixed/limits.h:34,
> from /builds/worker/workspace/build/src/gcc/i686-w64-mingw32/include/stdlib.h:10,
> from /builds/worker/workspace/build/src/gcc/i686-w64-mingw32/include/c++/6.4.0/cstdlib:75,
> from /builds/worker/workspace/build/src/obj-firefox/dist/stl_wrappers/cstdlib:44,
> from /builds/worker/workspace/build/src/gcc/i686-w64-mingw32/include/c++/6.4.0/stdlib.h:36,
> from /builds/worker/workspace/build/src/gcc/i686-w64-mingw32/include/combaseapi.h:129,
> from /builds/worker/workspace/build/src/gcc/i686-w64-mingw32/include/objbase.h:14,
> from /builds/worker/workspace/build/src/gcc/i686-w64-mingw32/include/ole2.h:17,
> from /builds/worker/workspace/build/src/gcc/i686-w64-mingw32/include/wtypes.h:12,
> from /builds/worker/workspace/build/src/gcc/i686-w64-mingw32/include/accctrl.h:10,
> from /builds/worker/workspace/build/src/dom/system/OSFileConstants.cpp:42,
> from /builds/worker/workspace/build/src/obj-firefox/dom/system/Unified_cpp_dom_system0.cpp:2:
> /builds/worker/workspace/build/src/gcc/i686-w64-mingw32/include/limits.h:20:0: note: this is the location of the previous definition
> #define PATH_MAX 260
> cc1plus: all warnings being treated as errors
| Assignee | ||
Comment 1•8 years ago
|
||
| Comment hidden (mozreview-request) |
Comment 3•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8919532 [details]
Bug 1409579 Only define PATH_MAX if it is not already defined.
https://reviewboard.mozilla.org/r/190374/#review195834
Attachment #8919532 -
Flags: review?(josh) → review+
| Assignee | ||
Updated•8 years ago
|
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/91c3ee492fde
Only define PATH_MAX if it is not already defined. r=jdm
Keywords: checkin-needed
Comment 5•8 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Comment 6•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8919532 [details]
Bug 1409579 Only define PATH_MAX if it is not already defined.
https://reviewboard.mozilla.org/r/190374/#review197798
We have many definitions of PATH_MAX in the tree. It would be nice to find some way to combine them all, but that's beyond the scope of this bug.
Attachment #8919532 -
Flags: review+
Comment 7•8 years ago
|
||
Whoops, I meant to review bug 1411374. Sorry for the noise.
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
•