sogo: master 8507204e

Author Committer Branch Timestamp Parent
the_nic GitHub master 2020-08-19 12:28 master 72053a58
Affected Issues  0005029: Does not build against gnustep-base 1.27
Changeset

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 0005029

mod - SoObjects/Mailer/SOGoMailObject.h Diff File
mod - UI/SOGoUI/SOGoAptFormatter.m Diff File