Closed Bug 1251226 Opened 4 years ago Closed 4 years ago

Avoid passing a std::wstring through the variadic method

Categories

(Core :: IPC, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla47
Tracking Status
firefox47 --- fixed

People

(Reporter: ehsan, Assigned: ehsan)

References

Details

Attachments

(1 file)

clang-cl emits the following error:

 9:39.10 c:/Users/ehsan/moz/src/ipc/glue/GeckoChildProcessHost.cpp(1037,9) :  error(clang): cannot pass object of non-trivial type 'const std::wstring' (aka 'co
nst basic_string<wchar_t, char_traits<wchar_t>, allocator<wchar_t> >') through variadic method; call will abort at runtime [-Wnon-pod-varargs]
 9:39.10         cmdLine.command_line_string());
 9:39.10         ^
 9:39.10 1 error generated.
Attachment #8723554 - Flags: review?(bobowen.code)
Attachment #8723554 - Flags: review?(bobowen.code) → review+
https://hg.mozilla.org/mozilla-central/rev/4f9b57948d0a
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in before you can comment on or make changes to this bug.