fix(core): fix GCC 10 compatibility

With GCC 10, SOGoAptFormatter.m FTBS with the following error:

    SOGoAptFormatter.m: In function ‘-[SOGoAptFormatter setPrivateTitleOnly]’:
    SOGoAptFormatter.m:104:56: error: expected ‘)’ before ‘::’ token
      104 |   self->formatAction = @selector(titleOnlyForPrivateApt::);

Simply name the second argument, so gcc is happy.

Also add the `external` keyword to a header declared variable.

Fixes #5029
This commit is contained in:
Nicolas Höft
2020-08-19 18:28:30 +02:00
committed by GitHub
parent 72053a5801
commit 8507204e0d
2 changed files with 20 additions and 20 deletions

View File

@@ -51,7 +51,7 @@
@class WOResponse;
NSArray *SOGoMailCoreInfoKeys;
extern NSArray *SOGoMailCoreInfoKeys;
@interface SOGoMailObject : SOGoMailBaseObject
{