mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2025-11-16 20:54:48 +00:00
Fixes the following compilation warning when using recent version of
the iOS or OS X SDK by using the recommended new API:
../../breakpad/src/common/mac/HTTPMultipartUpload.m:56:10: error: 'stringByAddingPercentEscapesUsingEncoding:' is deprecated: first deprecated in iOS 9.0 - Use -stringByAddingPercentEncodingWithAllowedCharacters: instead, which always uses the recommended UTF-8 encoding, and which encodes for a specific URL component or subcomponent since each URL component or subcomponent has different rules for what characters are valid. [-Werror,-Wdeprecated-declarations]
[key stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
^
CFURLCreateStringByAddingPercentEscapes
../../breakpad/src/common/mac/HTTPMultipartUpload.m:207:29: error: 'sendSynchronousRequest:returningResponse:error:' is deprecated: first deprecated in iOS 9.0 - Use [NSURLSession dataTaskWithRequest:completionHandler:] (see NSURLSession.h [-Werror,-Wdeprecated-declarations]
data = [NSURLConnection sendSynchronousRequest:req
^
../../breakpad/src/client/mac/handler/minidump_generator.cc:158:6: error: 'CFPropertyListCreateFromXMLData' is deprecated: first deprecated in iOS 8.0 - Use CFPropertyListCreateWithData instead. [-Werror,-Wdeprecated-declarations]
(CFPropertyListCreateFromXMLData(NULL, data, kCFPropertyListImmutable,
^
BUG=https://bugs.chromium.org/p/google-breakpad/issues/detail?id=675
BUG=569158
R=mark@chromium.org
Review URL: https://codereview.chromium.org/1563223004 .
|
||
|---|---|---|
| .. | ||
| testing | ||
| arch_utilities.cc | ||
| arch_utilities.h | ||
| bootstrap_compat.cc | ||
| bootstrap_compat.h | ||
| Breakpad.xcconfig | ||
| BreakpadDebug.xcconfig | ||
| BreakpadRelease.xcconfig | ||
| byteswap.h | ||
| dump_syms.cc | ||
| dump_syms.h | ||
| file_id.cc | ||
| file_id.h | ||
| GTMDefines.h | ||
| GTMLogger.h | ||
| GTMLogger.m | ||
| HTTPMultipartUpload.h | ||
| HTTPMultipartUpload.m | ||
| launch_reporter.cc | ||
| launch_reporter.h | ||
| MachIPC.h | ||
| MachIPC.mm | ||
| macho_id.cc | ||
| macho_id.h | ||
| macho_reader.cc | ||
| macho_reader.h | ||
| macho_reader_unittest.cc | ||
| macho_utilities.cc | ||
| macho_utilities.h | ||
| macho_walker.cc | ||
| macho_walker.h | ||
| scoped_task_suspend-inl.h | ||
| string_utilities.cc | ||
| string_utilities.h | ||
| super_fat_arch.h | ||