From a64d55f95ce4ba8970c0c00149e787a95357747b Mon Sep 17 00:00:00 2001 From: Euan Thoms Date: Wed, 4 Nov 2015 03:59:40 +0800 Subject: [PATCH] Stage 3 of clang compiler warning patches. --- SoObjects/Appointments/iCalRepeatableEntityObject+SOGo.m | 1 + SoObjects/Mailer/NSDictionary+Mail.m | 1 + SoObjects/Mailer/SOGoMailBaseObject.m | 2 ++ SoObjects/SOGo/SOGoCache.h | 1 + UI/Common/WODirectAction+SOGo.m | 3 +++ UI/Contacts/UIxContactFolderActions.m | 4 ++++ UI/MailPartViewers/UIxMailPartICalActions.m | 1 + UI/MainUI/SOGoMicrosoftActiveSyncActions.m | 3 +++ UI/PreferencesUI/UIxJSONPreferences.m | 1 + 9 files changed, 17 insertions(+) diff --git a/SoObjects/Appointments/iCalRepeatableEntityObject+SOGo.m b/SoObjects/Appointments/iCalRepeatableEntityObject+SOGo.m index 79f56e0be..a5a609636 100644 --- a/SoObjects/Appointments/iCalRepeatableEntityObject+SOGo.m +++ b/SoObjects/Appointments/iCalRepeatableEntityObject+SOGo.m @@ -44,6 +44,7 @@ #import #import "iCalRepeatableEntityObject+SOGo.h" +#import "iCalCalendar+SOGo.h" @implementation iCalRepeatableEntityObject (SOGoExtensions) diff --git a/SoObjects/Mailer/NSDictionary+Mail.m b/SoObjects/Mailer/NSDictionary+Mail.m index 74311f292..177ad38ac 100644 --- a/SoObjects/Mailer/NSDictionary+Mail.m +++ b/SoObjects/Mailer/NSDictionary+Mail.m @@ -20,6 +20,7 @@ #import #import +#import #import "NSDictionary+Mail.h" diff --git a/SoObjects/Mailer/SOGoMailBaseObject.m b/SoObjects/Mailer/SOGoMailBaseObject.m index 863491e2e..4948abe7e 100644 --- a/SoObjects/Mailer/SOGoMailBaseObject.m +++ b/SoObjects/Mailer/SOGoMailBaseObject.m @@ -32,9 +32,11 @@ #import #import #import +#import #import #import +#import #import "SOGoMailAccount.h" #import "SOGoMailManager.h" diff --git a/SoObjects/SOGo/SOGoCache.h b/SoObjects/SOGo/SOGoCache.h index 69ef6f942..12e665ea7 100644 --- a/SoObjects/SOGo/SOGoCache.h +++ b/SoObjects/SOGo/SOGoCache.h @@ -21,6 +21,7 @@ #ifndef SOGOCACHE_H #define SOGOCACHE_H +#import #import #include diff --git a/UI/Common/WODirectAction+SOGo.m b/UI/Common/WODirectAction+SOGo.m index 9b9675d3a..12dc4d019 100644 --- a/UI/Common/WODirectAction+SOGo.m +++ b/UI/Common/WODirectAction+SOGo.m @@ -20,6 +20,7 @@ #import #import +#import #import #import @@ -31,6 +32,8 @@ #import #import +#import + #import "WODirectAction+SOGo.h" static SoProduct *commonProduct = nil; diff --git a/UI/Contacts/UIxContactFolderActions.m b/UI/Contacts/UIxContactFolderActions.m index 017bd0049..1b0de09dd 100644 --- a/UI/Contacts/UIxContactFolderActions.m +++ b/UI/Contacts/UIxContactFolderActions.m @@ -28,10 +28,14 @@ #import #import #import +#define COMPILING_NGOBJWEB 1 /* we want httpRequest for parsing multi-part + form data */ #import +#undef COMPILING_NGOBJWEB #import #import #import +#import #import #import diff --git a/UI/MailPartViewers/UIxMailPartICalActions.m b/UI/MailPartViewers/UIxMailPartICalActions.m index edcccf310..564c8700f 100644 --- a/UI/MailPartViewers/UIxMailPartICalActions.m +++ b/UI/MailPartViewers/UIxMailPartICalActions.m @@ -46,6 +46,7 @@ #import #import #import +#import #import #import "UIxMailPartICalActions.h" diff --git a/UI/MainUI/SOGoMicrosoftActiveSyncActions.m b/UI/MainUI/SOGoMicrosoftActiveSyncActions.m index c487d5cce..1cfb8bc2f 100644 --- a/UI/MainUI/SOGoMicrosoftActiveSyncActions.m +++ b/UI/MainUI/SOGoMicrosoftActiveSyncActions.m @@ -30,6 +30,9 @@ #import #import +#import +#import + @interface SOGoMicrosoftActiveSyncActions : WODirectAction @end diff --git a/UI/PreferencesUI/UIxJSONPreferences.m b/UI/PreferencesUI/UIxJSONPreferences.m index fcd76b039..ed6c2f95f 100644 --- a/UI/PreferencesUI/UIxJSONPreferences.m +++ b/UI/PreferencesUI/UIxJSONPreferences.m @@ -32,6 +32,7 @@ #import #import #import +#import #import #import