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
2021-11-04 09:13:49 -04:00
committed by Francis Lachapelle
parent 3e96d68f30
commit dc4fdb2d5a
2 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -48,7 +48,7 @@
@class NGImap4Envelope;
@class NGImap4EnvelopeAddress;
NSArray *SOGoMailCoreInfoKeys;
extern NSArray *SOGoMailCoreInfoKeys;
@interface SOGoMailObject : SOGoMailBaseObject
{