mirror of
https://github.com/chromium/crashpad.git
synced 2025-01-14 09:17:57 +08:00
Scott Graham
119c4fdd93
win: various porting for http_body_test.cc
- Wrap constants in FILE_PATH_LITERAL for L"". - dynamic allocation, as VS otherwise complains about lack of constant expression: d:\src\crashpad\crashpad\util\net\http_body_test.cc(182) : error C2057: expected constant expression d:\src\crashpad\crashpad\util\net\http_body_test.cc(182) : error C2466: cannot allocate an array of constant size 0 d:\src\crashpad\crashpad\util\net\http_body_test.cc(182) : error C2133: 'buf' : unknown size d:\src\crashpad\crashpad\util\net\http_body_test.cc(183) : error C2070: 'uint8_t []': illegal sizeof operand d:\src\crashpad\crashpad\util\net\http_body_test.cc(196) : error C2070: 'uint8_t []': illegal sizeof operand R=mark@chromium.org BUG=crashpad:1 Review URL: https://codereview.chromium.org/837293002
Description
Languages
C++
92.6%
Objective-C++
2.5%
C
2%
Python
1.7%
Assembly
0.9%
Other
0.3%