Closed
Bug 1335323
Opened 8 years ago
Closed 8 years ago
security/sandbox/linux/Sandbox.h:28:42: error: no template named 'vector' in namespace 'std' after landing bug 1330326
Categories
(Core :: Security: Process Sandboxing, defect)
Tracking
()
RESOLVED
FIXED
mozilla54
Tracking | Status | |
---|---|---|
firefox52 | --- | unaffected |
firefox53 | --- | unaffected |
firefox54 | --- | fixed |
People
(Reporter: m_kato, Assigned: smaug)
References
Details
(Keywords: regression)
Attachments
(1 file)
1.34 KB,
patch
|
Details | Diff | Splinter Review |
After landing bug 1330326, I hit build error with clang-4.0
1:12.94 In file included from /mozilla/mozilla-inbound/security/sandbox/linux/Sandbox.cpp:7:
1:12.94 /mozilla/mozilla-inbound/security/sandbox/linux/Sandbox.h:28:42: error: no template named 'vector' in namespace 'std'; did you mean 'Vector'?
1:12.94 std::vector<int>& aSyscallWhitelist);
1:12.94 ^~~~~~~~~~~
1:12.94 Vector
1:12.94 /mozilla/objdir-ib/dist/include/mozilla/Vector.h:281:7: note: 'Vector' declared here
1:12.94 class Vector final : private AllocPolicy
Assignee | ||
Comment 1•8 years ago
|
||
Sandbox.h doesn't seem to #include or declare vector
Assignee | ||
Comment 2•8 years ago
|
||
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/mozilla-central/rev/adab5d5d0372
Move vector include to sandbox header to fix bustage. r=bustage-fix a=bustage-fix
Assignee | ||
Comment 4•8 years ago
|
||
forward declaration should work too, I guess.
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Version: Trunk → 54 Branch
Comment 5•8 years ago
|
||
So how come this did not fail on try or in inbound or wherever it was merged from.
Assignee | ||
Comment 6•8 years ago
|
||
Because of unified builds?
Updated•8 years ago
|
Assignee: nobody → bugs
status-firefox52:
--- → unaffected
status-firefox53:
--- → unaffected
Target Milestone: --- → mozilla54
You need to log in
before you can comment on or make changes to this bug.
Description
•