Avoid passing a std::wstring through the variadic method

RESOLVED FIXED in Firefox 47

Status

()

defect
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: Ehsan, Assigned: Ehsan)

Tracking

unspecified
mozilla47
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox47 fixed)

Details

Attachments

(1 attachment)

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.

Updated

3 years ago
Attachment #8723554 - Flags: review?(bobowen.code) → review+

Comment 3

3 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/4f9b57948d0a
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in before you can comment on or make changes to this bug.