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)

54 Branch
Unspecified
Linux
defect
Not set
normal

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)

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
Sandbox.h doesn't seem to #include or declare vector
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
forward declaration should work too, I guess.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Version: Trunk → 54 Branch
So how come this did not fail on try or in inbound or wherever it was merged from.
Because of unified builds?
Assignee: nobody → bugs
Target Milestone: --- → mozilla54
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: