mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 19:18:06 +00:00
Fix build issues
This commit is contained in:
parent
bcea5a459c
commit
5a5498ef88
3 changed files with 6 additions and 3 deletions
|
|
@ -253,7 +253,7 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
[controller setToRecipients:recipients];
|
||||
|
||||
if (attachLogs) {
|
||||
char *filepath = linphone_core_compress_log_collection([LinphoneManager getLc]);
|
||||
char *filepath = linphone_core_compress_log_collection();
|
||||
if (filepath == NULL) {
|
||||
LOGE(@"Cannot sent logs: file is NULL");
|
||||
return;
|
||||
|
|
|
|||
|
|
@ -781,11 +781,10 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
#pragma mark - Mail composer for sending logs
|
||||
|
||||
- (void)sendEmailWithDebugAttachments {
|
||||
LinphoneCore *lc = [LinphoneManager getLc];
|
||||
NSMutableArray *attachments = [[NSMutableArray alloc] initWithCapacity:3];
|
||||
|
||||
// retrieve linphone logs if available
|
||||
char *filepath = linphone_core_compress_log_collection(lc);
|
||||
char *filepath = linphone_core_compress_log_collection();
|
||||
if (filepath != NULL) {
|
||||
NSString *filename = [[NSString stringWithUTF8String:filepath] componentsSeparatedByString:@"/"].lastObject;
|
||||
NSString *mimeType = nil;
|
||||
|
|
|
|||
|
|
@ -4656,6 +4656,7 @@
|
|||
GCC_THUMB_SUPPORT = NO;
|
||||
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES;
|
||||
|
|
@ -4741,6 +4742,7 @@
|
|||
GCC_THUMB_SUPPORT = NO;
|
||||
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES;
|
||||
|
|
@ -4826,6 +4828,7 @@
|
|||
GCC_THUMB_SUPPORT = NO;
|
||||
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES;
|
||||
|
|
@ -4912,6 +4915,7 @@
|
|||
GCC_THUMB_SUPPORT = NO;
|
||||
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
|
||||
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
||||
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
||||
GCC_WARN_UNINITIALIZED_AUTOS = YES;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue