=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for SOGo-5.11.2 This is gnustep-make 2.9.3. Type 'gmake print-gnustep-make-help' for help. Running in gnustep-make version 2 strict mode. Making all in SOPE/NGCards ... Making all for library libNGCards... Compiling file NSArray+NGCards.m ... Compiling file NSCalendarDate+NGCards.m ... Compiling file NSDictionary+NGCards.m ... Compiling file NSString+NGCards.m ... Compiling file NSCalendarDate+ICal.m ... NSCalendarDate+ICal.m:22:2: warning: this module should be cleaned up and merged with NSCalendarDate+NGCards [-W#warnings] 22 | #warning this module should be cleaned up and \ | ^ 1 warning generated. Compiling file CardElement.m ... Compiling file CardGroup.m ... Compiling file CardVersitRenderer.m ... Compiling file iCalXMLRenderer.m ... iCalXMLRenderer.m:164:2: warning: this code should be fix to comply better with the RFC [-W#warnings] 164 | #warning this code should be fix to comply better with the RFC | ^ 1 warning generated. Compiling file iCalAlarm.m ... Compiling file iCalAttachment.m ... Compiling file iCalByDayMask.m ... Compiling file iCalCalendar.m ... iCalCalendar.m:236:2: warning: should we return timezones too? [-W#warnings] 236 | #warning should we return timezones too? | ^ iCalCalendar.m:146:91: warning: instance method '-dateTime' not found (return type defaults to 'id') [-Wobjc-method-access] 146 | calendarDate = [[[[self allObjects] objectAtIndex: 0] uniqueChildWithTag: @"dtstart"] dateTime]; | ^~~~~~~~ ./CardElement.h:34:12: note: receiver is instance of class declared here 34 | @interface CardElement : NSObject <NSCopying, NSMutableCopying> | ^ iCalCalendar.m:148:96: warning: instance method '-dateTime' not found (return type defaults to 'id') [-Wobjc-method-access] 148 | tmpCalendarDate = [[[[self allObjects] objectAtIndex: i] uniqueChildWithTag: @"dtstart"] dateTime]; | ^~~~~~~~ ./CardElement.h:34:12: note: receiver is instance of class declared here 34 | @interface CardElement : NSObject <NSCopying, NSMutableCopying> | ^ 3 warnings generated. Compiling file iCalDailyRecurrenceCalculator.m ... Compiling file iCalDateTime.m ... Compiling file iCalDataSource.m ... Compiling file iCalEntityObject.m ... iCalEntityObject.m:106:2: warning: the "comment" accessors are actually "description" accessors, the "comment" ones are missing [-W#warnings] 106 | #warning the "comment" accessors are actually "description" accessors, the "comment" ones are missing | ^ 1 warning generated. Compiling file iCalEvent.m ... Compiling file iCalEventChanges.m ... Compiling file iCalFreeBusy.m ... Compiling file iCalJournal.m ... Compiling file iCalMonthlyRecurrenceCalculator.m ... iCalMonthlyRecurrenceCalculator.m:120:24: warning: unused function 'iCalDoWForNSDoW' [-Wunused-function] 120 | static inline unsigned iCalDoWForNSDoW (int dow) | ^~~~~~~~~~~~~~~ 1 warning generated. Compiling file iCalObject.m ... Compiling file iCalPerson.m ... Compiling file iCalRecurrenceRule.m ... iCalRecurrenceRule.m:367:2: warning: handling of default timezone needs to be implemented [-W#warnings] 367 | #warning handling of default timezone needs to be implemented | ^ iCalRecurrenceRule.m:426:2: warning: we also should handle the user weekstarts [-W#warnings] 426 | #warning we also should handle the user weekstarts | ^ 2 warnings generated. Compiling file iCalRecurrenceCalculator.m ... Compiling file iCalRepeatableEntityObject.m ... iCalRepeatableEntityObject.m:125:15: warning: unused variable 'rdateTimezone' [-Wunused-variable] 125 | NSTimeZone *rdateTimezone; | ^~~~~~~~~~~~~ 1 warning generated. Compiling file iCalTimeZone.m ... iCalTimeZone.m:351:2: warning: this is a dirty hack due to the fact that the date is first passed as UTC [-W#warnings] 351 | #warning this is a dirty hack due to the fact that the date is first passed as UTC | ^ 1 warning generated. Compiling file iCalTimeZonePeriod.m ... Compiling file iCalToDo.m ... Compiling file iCalTrigger.m ... Compiling file iCalUTCOffset.m ... Compiling file iCalWeeklyRecurrenceCalculator.m ... Compiling file iCalYearlyRecurrenceCalculator.m ... iCalYearlyRecurrenceCalculator.m:191:37: warning: incompatible integer to pointer conversion assigning to 'NSInteger *' (aka 'long *') from 'NSInteger' (aka 'long') [-Wint-conversion] 191 | hoursOfOffset = [rStart hourOfDay]; | ^ ~~~~~~~~~~~~~~~~~~ iCalYearlyRecurrenceCalculator.m:193:40: warning: ordered comparison between pointer and integer ('NSInteger *' (aka 'long *') and 'int') 193 | if(hoursOfOffset > 12) { | ~~~~~~~~~~~~~ ^ ~~ 2 warnings generated. Compiling file NGVCard.m ... NGVCard.m:310:65: warning: instance method '-dataByDecodingBase64' not found (return type defaults to 'id') [-Wobjc-method-access] 310 | return [[[key valuesAtIndex: 0 forKey: @""] objectAtIndex: 0] dataByDecodingBase64]; | ^~~~~~~~~~~~~~~~~~~~ NGVCard.m:318:27: warning: instance method '-stringByEncodingBase64' not found (return type defaults to 'id') [-Wobjc-method-access] 318 | value = [theCertificate stringByEncodingBase64]; | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSDate.h:52:8: note: receiver is instance of class declared here 52 | @class NSData; | ^ 2 warnings generated. Compiling file NGVList.m ... Compiling file NGVCardPhoto.m ... Compiling file NGVCardReference.m ... Compiling file NGCardsSaxHandler.m ... NGCardsSaxHandler.m:108:17: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 108 | vcs.isInGroup = 1; | ^ ~ NGCardsSaxHandler.m:123:20: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 123 | vcs.isInVCardSet = 1; | ^ ~ NGCardsSaxHandler.m:200:22: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 200 | vcs.collectContent = 1; | ^ ~ 3 warnings generated. Linking library libNGCards ... Making all in versitCardsSaxDriver ... Making all for bundle versitCardsSaxDriver... Creating versitCardsSaxDriver.sax/.... Compiling file VSSaxDriver.m ... Compiling file VSCardSaxDriver.m ... Linking bundle versitCardsSaxDriver ... Creating versitCardsSaxDriver.sax/Resources... Copying resources into the bundle wrapper... Creating stamp file... Creating versitCardsSaxDriver.sax/Resources/Info-gnustep.plist... Making all in SOPE/GDLContentStore ... Making all for library libGDLContentStore... Compiling file NSURL+GCS.m ... Compiling file EOAdaptorChannel+GCS.m ... Compiling file EOQualifier+GCS.m ... Compiling file GCSAlarmsFolder.m ... GCSAlarmsFolder.m:40:2: warning: GCSAlarmsFolder should share a common ancestor with GCSFolder [-W#warnings] 40 | #warning GCSAlarmsFolder should share a common ancestor with GCSFolder | ^ 1 warning generated. Compiling file GCSAdminFolder.m ... GCSAdminFolder.m:40:2: warning: GCSAdminFolder should share a common ancestor with GCSFolder [-W#warnings] 40 | #warning GCSAdminFolder should share a common ancestor with GCSFolder | ^ 1 warning generated. Compiling file GCSContext.m ... Compiling file GCSFieldInfo.m ... Compiling file GCSFolder.m ... GCSFolder.m:526:8: warning: this may be dangerous... [-W#warnings] 526 | #warning this may be dangerous... | ^ GCSFolder.m:1149:21: warning: incompatible pointer types assigning to 'NSCalendarDate *' from 'NSDate *' [-Wincompatible-pointer-types] 1149 | startDate = [theComponent startDate]; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. Compiling file GCSFolderManager.m ... GCSFolderManager.m:504:11: warning: receiver 'GCSAdminFolder' is a forward class and corresponding @interface may not exist [-Wreceiver-forward-class] 504 | return [GCSAdminFolder adminFolderWithFolderManager: self]; | ^~~~~~~~~~~~~~ ./GCSFolderManager.h:34:44: note: forward declaration of class here 34 | @class GCSChannelManager, GCSAlarmsFolder, GCSAdminFolder, GCSFolder, GCSFolderType, GCSSessionsFolder; | ^ GCSFolderManager.m:504:26: warning: class method '+adminFolderWithFolderManager:' not found (return type defaults to 'id') [-Wobjc-method-access] 504 | return [GCSAdminFolder adminFolderWithFolderManager: self]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. Compiling file GCSFolderType.m ... Compiling file GCSChannelManager.m ... Compiling file GCSSessionsFolder.m ... GCSSessionsFolder.m:40:2: warning: GCSSessionsFolder should share a common ancestor with GCSFolder [-W#warnings] 40 | #warning GCSSessionsFolder should share a common ancestor with GCSFolder | ^ 1 warning generated. Compiling file GCSSpecialQueries.m ... Compiling file GCSStringFormatter.m ... Linking library libGDLContentStore ... gmake[2]: Nothing to be done for 'internal-master-tool-all'. Making all in SoObjects ... Making all in SOGo ... Making build-headers for framework SOGo... Creating SOGo.framework/Versions/5/Headers... Creating SOGo.framework/Versions/5/Headers/SOGoBuild.h... Creating SOGo.framework/Versions/5/Headers/SOGoProductLoader.h... Creating SOGo.framework/Versions/5/Headers/BSONCodec.h... Creating SOGo.framework/Versions/5/Headers/EOBitmaskQualifier.h... Creating SOGo.framework/Versions/5/Headers/EOQualifier+SOGoCacheObject.h... Creating SOGo.framework/Versions/5/Headers/GCSSpecialQueries+SOGoCacheObject.h... Creating SOGo.framework/Versions/5/Headers/RTFHandler.h... Creating SOGo.framework/Versions/5/Headers/SOGoCache.h... Creating SOGo.framework/Versions/5/Headers/SOGoCacheGCSFolder.h... Creating SOGo.framework/Versions/5/Headers/SOGoCacheGCSObject.h... Creating SOGo.framework/Versions/5/Headers/SOGoCacheObject.h... Creating SOGo.framework/Versions/5/Headers/SOGoConstants.h... Creating SOGo.framework/Versions/5/Headers/SOGoObject.h... Creating SOGo.framework/Versions/5/Headers/SOGoContentObject.h... Creating SOGo.framework/Versions/5/Headers/SOGoFolder.h... Creating SOGo.framework/Versions/5/Headers/SOGoGCSFolder.h... Creating SOGo.framework/Versions/5/Headers/SOGoParentFolder.h... Creating SOGo.framework/Versions/5/Headers/SOGoUserFolder.h... Creating SOGo.framework/Versions/5/Headers/SOGoSource.h... Creating SOGo.framework/Versions/5/Headers/SOGoSystemDefaults.h... Creating SOGo.framework/Versions/5/Headers/SOGoDomainDefaults.h... Creating SOGo.framework/Versions/5/Headers/SOGoLDAPDefaults.h... Creating SOGo.framework/Versions/5/Headers/SOGoDefaultsSource.h... Creating SOGo.framework/Versions/5/Headers/SOGoUserDefaults.h... Creating SOGo.framework/Versions/5/Headers/SOGoSieveManager.h... Creating SOGo.framework/Versions/5/Headers/SOGoUserManager.h... Creating SOGo.framework/Versions/5/Headers/LDAPSource.h... Creating SOGo.framework/Versions/5/Headers/LDAPSourceSchema.h... Creating SOGo.framework/Versions/5/Headers/SQLSource.h... Creating SOGo.framework/Versions/5/Headers/SOGoUserProfile.h... Creating SOGo.framework/Versions/5/Headers/SOGoDateFormatter.h... Creating SOGo.framework/Versions/5/Headers/SOGoPermissions.h... Creating SOGo.framework/Versions/5/Headers/SOGoStartupLogger.h... Creating SOGo.framework/Versions/5/Headers/NSArray+DAV.h... Creating SOGo.framework/Versions/5/Headers/NSArray+Utilities.h... Creating SOGo.framework/Versions/5/Headers/NSCalendarDate+SOGo.h... Creating SOGo.framework/Versions/5/Headers/NSDictionary+DAV.h... Creating SOGo.framework/Versions/5/Headers/NSDictionary+URL.h... Creating SOGo.framework/Versions/5/Headers/NSDictionary+Utilities.h... Creating SOGo.framework/Versions/5/Headers/NSNull+Utilities.h... Creating SOGo.framework/Versions/5/Headers/NSNumber+Utilities.h... Creating SOGo.framework/Versions/5/Headers/NSObject+DAV.h... Creating SOGo.framework/Versions/5/Headers/NSObject+Utilities.h... Creating SOGo.framework/Versions/5/Headers/NSString+DAV.h... Creating SOGo.framework/Versions/5/Headers/NSString+Utilities.h... Creating SOGo.framework/Versions/5/Headers/NSString+Crypto.h... Creating SOGo.framework/Versions/5/Headers/NSData+Crypto.h... Creating SOGo.framework/Versions/5/Headers/NSURL+DAV.h... Creating SOGo.framework/Versions/5/Headers/SOGoAuthenticator.h... Creating SOGo.framework/Versions/5/Headers/SOGoSession.h... Creating SOGo.framework/Versions/5/Headers/SOGoCASSession.h... Creating SOGo.framework/Versions/5/Headers/SOGoDAVAuthenticator.h... Creating SOGo.framework/Versions/5/Headers/SOGoProxyAuthenticator.h... Creating SOGo.framework/Versions/5/Headers/SOGoStaticAuthenticator.h... Creating SOGo.framework/Versions/5/Headers/SOGoEmptyAuthenticator.h... Creating SOGo.framework/Versions/5/Headers/SOGoWebAuthenticator.h... Creating SOGo.framework/Versions/5/Headers/SOGoWebDAVAclManager.h... Creating SOGo.framework/Versions/5/Headers/SOGoWebDAVValue.h... Creating SOGo.framework/Versions/5/Headers/SOGoMailer.h... Creating SOGo.framework/Versions/5/Headers/SOGoUser.h... Creating SOGo.framework/Versions/5/Headers/CardElement+SOGo.h... Creating SOGo.framework/Versions/5/Headers/DOMNode+SOGo.h... Creating SOGo.framework/Versions/5/Headers/WORequest+SOGo.h... Creating SOGo.framework/Versions/5/Headers/WOResourceManager+SOGo.h... Creating SOGo.framework/Versions/5/Headers/WOResponse+SOGo.h... Creating SOGo.framework/Versions/5/Headers/WOContext+SOGo.h... Creating SOGo.framework/Versions/5/Headers/SOGoCredentialsFile.h... Creating SOGo.framework/Versions/5/Headers/SOGoTextTemplateFile.h... Creating SOGo.framework/Versions/5/Headers/SOGoZipArchiver.h... Creating SOGo.framework/Versions/5/Headers/JWT.h... Creating SOGo.framework/Versions/5/Headers/NGMimeBodyPart+SOGo.h... Creating SOGo.framework/Versions/5/Headers/NGMimeFileData+SOGo.h... Creating SOGo.framework/Versions/5/Headers/SOGoMobileProvision.h... Creating SOGo.framework/Versions/5/Headers/SOGoAdmin.h... Creating derived_src/.stamp... Creating SOGo.framework/Versions/5/sogo... Creating SOGo.framework/Versions/5/Resources... Updating Version/Current symlink... Making all for framework SOGo... Compiling file lmhash.c ... Compiling file aes.c ... Compiling file crypt_blowfish.c ... Compiling file pkcs5_pbkdf2.c ... pkcs5_pbkdf2.c:38:9: warning: 'bcopy' macro redefined [-Wmacro-redefined] 38 | #define bcopy(b1,b2,len) (memmove((b2), (b1), (len)), (void) 0) | ^ /usr/include/ssp/strings.h:38:9: note: previous definition is here 38 | #define bcopy(src, dst, len) \ | ^ pkcs5_pbkdf2.c:57:3: warning: 'SHA1_Init' is deprecated [-Wdeprecated-declarations] 57 | SHA1_Init(&ctx); | ^ /usr/include/openssl/sha.h:53:1: note: 'SHA1_Init' has been explicitly marked deprecated here 53 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ pkcs5_pbkdf2.c:58:3: warning: 'SHA1_Update' is deprecated [-Wdeprecated-declarations] 58 | SHA1_Update(&ctx, key, key_len); | ^ /usr/include/openssl/sha.h:54:1: note: 'SHA1_Update' has been explicitly marked deprecated here 54 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ pkcs5_pbkdf2.c:59:3: warning: 'SHA1_Final' is deprecated [-Wdeprecated-declarations] 59 | SHA1_Final(tk, &ctx); | ^ /usr/include/openssl/sha.h:55:1: note: 'SHA1_Final' has been explicitly marked deprecated here 55 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ pkcs5_pbkdf2.c:70:2: warning: 'SHA1_Init' is deprecated [-Wdeprecated-declarations] 70 | SHA1_Init(&ctx); | ^ /usr/include/openssl/sha.h:53:1: note: 'SHA1_Init' has been explicitly marked deprecated here 53 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ pkcs5_pbkdf2.c:71:2: warning: 'SHA1_Update' is deprecated [-Wdeprecated-declarations] 71 | SHA1_Update(&ctx, k_pad, SHA1_BLOCK_LENGTH); | ^ /usr/include/openssl/sha.h:54:1: note: 'SHA1_Update' has been explicitly marked deprecated here 54 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ pkcs5_pbkdf2.c:72:2: warning: 'SHA1_Update' is deprecated [-Wdeprecated-declarations] 72 | SHA1_Update(&ctx, text, text_len); | ^ /usr/include/openssl/sha.h:54:1: note: 'SHA1_Update' has been explicitly marked deprecated here 54 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ pkcs5_pbkdf2.c:73:2: warning: 'SHA1_Final' is deprecated [-Wdeprecated-declarations] 73 | SHA1_Final(digest, &ctx); | ^ /usr/include/openssl/sha.h:55:1: note: 'SHA1_Final' has been explicitly marked deprecated here 55 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ pkcs5_pbkdf2.c:80:2: warning: 'SHA1_Init' is deprecated [-Wdeprecated-declarations] 80 | SHA1_Init(&ctx); | ^ /usr/include/openssl/sha.h:53:1: note: 'SHA1_Init' has been explicitly marked deprecated here 53 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ pkcs5_pbkdf2.c:81:2: warning: 'SHA1_Update' is deprecated [-Wdeprecated-declarations] 81 | SHA1_Update(&ctx, k_pad, SHA1_BLOCK_LENGTH); | ^ /usr/include/openssl/sha.h:54:1: note: 'SHA1_Update' has been explicitly marked deprecated here 54 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ pkcs5_pbkdf2.c:82:2: warning: 'SHA1_Update' is deprecated [-Wdeprecated-declarations] 82 | SHA1_Update(&ctx, digest, SHA1_DIGEST_LENGTH); | ^ /usr/include/openssl/sha.h:54:1: note: 'SHA1_Update' has been explicitly marked deprecated here 54 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ pkcs5_pbkdf2.c:83:2: warning: 'SHA1_Final' is deprecated [-Wdeprecated-declarations] 83 | SHA1_Final(digest, &ctx); | ^ /usr/include/openssl/sha.h:55:1: note: 'SHA1_Final' has been explicitly marked deprecated here 55 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ 12 warnings generated. Compiling file SOGoBuild.m ... Compiling file SOGoProductLoader.m ... SOGoProductLoader.m:87:2: warning: we should work on searchPathes directly instead of ma [-W#warnings] 87 | #warning we should work on searchPathes directly instead of ma | ^ 1 warning generated. Compiling file BSONCodec.m ... BSONCodec.m:285:24: warning: array subscript is of type 'char' [-Wchar-subscripts] 285 | const char encoding = tolower(*([self objCType])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' 59 | #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) | ^~~~ 1 warning generated. Compiling file EOBitmaskQualifier.m ... Compiling file EOQualifier+SOGoCacheObject.m ... Compiling file GCSSpecialQueries+SOGoCacheObject.m ... Compiling file RTFHandler.m ... RTFHandler.m:357:78: warning: format specifies type 'unsigned int' but the argument has type 'NSUInteger' (aka 'unsigned long') [-Wformat] 357 | description = [NSMutableString stringWithFormat: @"Number of fonts: %u\n", [fontInfos count]]; | ~~ ^~~~~~~~~~~~~~~~~ | %lu RTFHandler.m:584:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 584 | while (isalpha(*_bytes)) | ^~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha' 49 | #define isalpha(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A)) | ^~~~ RTFHandler.m:601:25: warning: array subscript is of type 'char' [-Wchar-subscripts] 601 | if (*_bytes == '-' || isdigit(*_bytes)) | ^~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' 51 | #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) | ^~~~ RTFHandler.m:604:14: warning: array subscript is of type 'char' [-Wchar-subscripts] 604 | while (isdigit(*_bytes)) // TODO: Allow up to 10 digits | ^~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' 51 | #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) | ^~~~ RTFHandler.m:635:10: warning: array subscript is of type 'char' [-Wchar-subscripts] 635 | while (isalpha(*_bytes)) | ^~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha' 49 | #define isalpha(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A)) | ^~~~ RTFHandler.m:659:25: warning: array subscript is of type 'char' [-Wchar-subscripts] 659 | if (*_bytes == '-' || isdigit(*_bytes)) | ^~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' 51 | #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) | ^~~~ RTFHandler.m:664:14: warning: array subscript is of type 'char' [-Wchar-subscripts] 664 | while (isdigit(*_bytes)) | ^~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' 51 | #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) | ^~~~ RTFHandler.m:824:18: warning: cast to smaller integer type 'fontCommandWordId' from 'void *' [-Wvoid-pointer-to-enum-cast] 824 | cwId = (fontCommandWordId) NSMapGet(_fontCws, cwKey); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RTFHandler.m:871:29: warning: array subscript is of type 'char' [-Wchar-subscripts] 871 | if (level == 2 && isalnum(*_bytes)) | ^~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:48:44: note: expanded from macro 'isalnum' 48 | #define isalnum(c) ((int)((_ctype_tab_ + 1)[(c)] & (_CTYPE_A|_CTYPE_D))) | ^~~~ RTFHandler.m:1270:22: warning: array subscript is of type 'char' [-Wchar-subscripts] 1270 | tmp = (isdigit(*b1) ? *b1 - 48 : toupper(*b1) - 55); | ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' 51 | #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) | ^~~~ RTFHandler.m:1270:48: warning: array subscript is of type 'char' [-Wchar-subscripts] 1270 | tmp = (isdigit(*b1) ? *b1 - 48 : toupper(*b1) - 55); | ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' 60 | #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) | ^~~~ RTFHandler.m:1278:22: warning: array subscript is of type 'char' [-Wchar-subscripts] 1278 | tmp = (isdigit(*b2) ? *b2 - 48 : toupper(*b2) - 55); | ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' 51 | #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) | ^~~~ RTFHandler.m:1278:48: warning: array subscript is of type 'char' [-Wchar-subscripts] 1278 | tmp = (isdigit(*b2) ? *b2 - 48 : toupper(*b2) - 55); | ^~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' 60 | #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) | ^~~~ RTFHandler.m:1296:21: warning: array subscript is of type 'char' [-Wchar-subscripts] 1296 | else if (!isalpha(nextByte)) | ^~~~~~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:49:44: note: expanded from macro 'isalpha' 49 | #define isalpha(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_A)) | ^~~~ RTFHandler.m:1329:18: warning: cast to smaller integer type 'commandWordId' from 'void *' [-Wvoid-pointer-to-enum-cast] 1329 | cwId = (commandWordId) NSMapGet(_cws, cwKey); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ RTFHandler.m:1067:33: warning: format specifies type 'int' but the argument has type 'NSUInteger' (aka 'unsigned long') [-Wformat] 1066 | NSLog(@"RTFHandler: Font %u has %d chars length, parse error? " | ~~ | %lu 1067 | "Ignored", arg, [fontInfo->name length]); | ^~~~~~~~~~~~~~~~~~~~~~~ 16 warnings generated. Compiling file SOGoCache.m ... Compiling file SOGoCacheGCSFolder.m ... Compiling file SOGoCacheGCSObject.m ... SOGoCacheGCSObject.m:448:72: warning: incomplete format specifier [-Wformat] 448 | pathValue = [adaptor formatValue: [NSString stringWithFormat: @"/%@%", deviceId] | ^ SOGoCacheGCSObject.m:602:13: warning: incompatible pointer types assigning to 'NSMutableString *' from 'NSString *' [-Wincompatible-pointer-types] 602 | sql = [NSString stringWithFormat: | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 603 | (@"INSERT INTO %@" | ~~~~~~~~~~~~~~~~~~ 604 | @" (c_uid, c_path, c_parent_path, c_type, c_creationdate, c_lastmodified," | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 605 | @" c_deleted, c_version, c_content)" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 606 | @" VALUES (%@, %@, %@, %d, %d, %d, 0, 0, %@" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 607 | @")"), | ~~~~~~ 608 | tableName, | ~~~~~~~~~~ 609 | loginValue, pathValue, parentPathValue, objectType, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 610 | (int)creationDateValue, (int)lastModifiedValue, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 611 | propsValue]; | ~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSString.h:529:1: note: class method 'stringWithFormat:' is assumed to return an instance of its receiver type ('NSString *') 529 | + (instancetype) stringWithFormat: (NSString*)format, ... NS_FORMAT_FUNCTION(1,2); | ^ SOGoCacheGCSObject.m:613:13: warning: incompatible pointer types assigning to 'NSMutableString *' from 'NSString *' [-Wincompatible-pointer-types] 613 | sql = [NSString stringWithFormat: | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 614 | (@"INSERT INTO %@" | ~~~~~~~~~~~~~~~~~~ 615 | @" (c_path, c_parent_path, c_type, c_creationdate, c_lastmodified," | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 616 | @" c_deleted, c_version, c_content)" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 617 | @" VALUES (%@, %@, %d, %d, %d, 0, 0, %@" | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 618 | @")"), | ~~~~~~ 619 | tableName, | ~~~~~~~~~~ 620 | pathValue, parentPathValue, objectType, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 621 | (int)creationDateValue, (int)lastModifiedValue, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 622 | propsValue]; | ~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSString.h:529:1: note: class method 'stringWithFormat:' is assumed to return an instance of its receiver type ('NSString *') 529 | + (instancetype) stringWithFormat: (NSString*)format, ... NS_FORMAT_FUNCTION(1,2); | ^ 3 warnings generated. Compiling file SOGoCacheObject.m ... Compiling file SOGoConstants.m ... Compiling file SOGoObject.m ... SOGoObject.m:451:2: warning: this method has probably some code shared with its pseudo principal equivalent [-W#warnings] 451 | #warning this method has probably some code shared with its pseudo principal equivalent | ^ 1 warning generated. Compiling file SOGoContentObject.m ... Compiling file SOGoFolder.m ... Compiling file SOGoGCSFolder.m ... SOGoGCSFolder.m:637:2: warning: GDLContentStore should provide methods for renaming folders [-W#warnings] 637 | #warning GDLContentStore should provide methods for renaming folders | ^ SOGoGCSFolder.m:665:2: warning: SOGoFolder should have the corresponding method [-W#warnings] 665 | #warning SOGoFolder should have the corresponding method | ^ SOGoGCSFolder.m:1453:2: warning: review this when fixing http://www.scalableogo.org/bugs/view.php?id=276 [-W#warnings] 1453 | #warning review this when fixing http://www.scalableogo.org/bugs/view.php?id=276 | ^ SOGoGCSFolder.m:1948:2: warning: this should be checked [-W#warnings] 1948 | #warning this should be checked | ^ SOGoGCSFolder.m:2124:2: warning: the two following methods should be replaced with the new dav rendering mechanism [-W#warnings] 2124 | #warning the two following methods should be replaced with the new dav rendering mechanism | ^ SOGoGCSFolder.m:2258:2: warning: We need to use the new DAV utilities here... [-W#warnings] 2258 | #warning We need to use the new DAV utilities here... | ^ SOGoGCSFolder.m:2259:2: warning: this is baddddd because we return a single-valued dictionary containing a cname which may not event exist... the logic behind appendObject:... should be rethought, especially since we may start using SQL views [-W#warnings] 2259 | #warning this is baddddd because we return a single-valued dictionary containing \ | ^ SOGoGCSFolder.m:2311:2: warning: review this when bug #276 [-W#warnings] 2311 | #warning review this when bug #276 | ^ SOGoGCSFolder.m:447:32: warning: instance method '-folderForRecord:' not found (return type defaults to 'id') [-Wobjc-method-access] 447 | return [[self folderManager] folderForRecord: record]; | ^~~~~~~~~~~~~~~ ../../SOPE/GDLContentStore/GCSFolderManager.h:36:12: note: receiver is instance of class declared here 36 | @interface GCSFolderManager : NSObject | ^ SOGoGCSFolder.m:979:18: warning: incompatible pointer types assigning to 'NSMutableArray *' from 'NSArray *' [-Wincompatible-pointer-types] 979 | allUsers = [NSArray arrayWithObject: sogoUser]; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSArray.h:69:1: note: class method 'arrayWithObject:' is assumed to return an instance of its receiver type ('NSArray *') 69 | + (instancetype) arrayWithObject: (id)anObject; | ^ SOGoGCSFolder.m:981:11: warning: incompatible pointer types assigning to 'NSMutableArray *' from 'NSArray *' [-Wincompatible-pointer-types] 981 | allUsers = [NSArray array]; | ^ ~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSArray.h:63:1: note: class method 'array' is assumed to return an instance of its receiver type ('NSArray *') 63 | + (instancetype) array; | ^ 11 warnings generated. Compiling file SOGoParentFolder.m ... SOGoParentFolder.m:601:2: warning: check error here [-W#warnings] 601 | #warning check error here | ^ 1 warning generated. Compiling file SOGoPublicBaseFolder.m ... Compiling file SOGoUserFolder.m ... SOGoUserFolder.m:402:2: warning: the attributes returned here should match the one requested in the query [-W#warnings] 402 | #warning the attributes returned here should match the one requested in the query | ^ SOGoUserFolder.m:705:2: warning: unused stub [-W#warnings] 705 | #warning unused stub | ^ 2 warnings generated. Compiling file SOGoSieveManager.m ... SOGoSieveManager.m:1287:14: warning: incompatible pointer types assigning to 'NSMutableString *' from 'NSString *' [-Wincompatible-pointer-types] 1287 | header = [NSString stringWithFormat: @"require [\"%@\"];\r\n", | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1288 | [[req uniqueObjects] componentsJoinedByString: @"\",\""]]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSString.h:529:1: note: class method 'stringWithFormat:' is assumed to return an instance of its receiver type ('NSString *') 529 | + (instancetype) stringWithFormat: (NSString*)format, ... NS_FORMAT_FUNCTION(1,2); | ^ 1 warning generated. Compiling file SOGoDefaultsSource.m ... Compiling file SOGoSystemDefaults.m ... SOGoSystemDefaults.m:541:11: warning: receiver type 'void *' is not 'id' or interface pointer, consider casting it to 'id' [-Wreceiver-expr] 541 | t1 = [context labelForKey: el1]; | ^~~~~~~ SOGoSystemDefaults.m:541:19: warning: instance method '-labelForKey:' not found (return type defaults to 'id') [-Wobjc-method-access] 541 | t1 = [context labelForKey: el1]; | ^~~~~~~~~~~ SOGoSystemDefaults.m:542:11: warning: receiver type 'void *' is not 'id' or interface pointer, consider casting it to 'id' [-Wreceiver-expr] 542 | t2 = [context labelForKey: el2]; | ^~~~~~~ SOGoSystemDefaults.m:542:19: warning: instance method '-labelForKey:' not found (return type defaults to 'id') [-Wobjc-method-access] 542 | t2 = [context labelForKey: el2]; | ^~~~~~~~~~~ 4 warnings generated. Compiling file SOGoDomainDefaults.m ... SOGoDomainDefaults.m:134:2: warning: should be removed when we make use of imap namespace [-W#warnings] 134 | #warning should be removed when we make use of imap namespace | ^ SOGoDomainDefaults.m:145:2: warning: this should be determined from the capabilities [-W#warnings] 145 | #warning this should be determined from the capabilities | ^ 2 warnings generated. Compiling file SOGoUserDefaults.m ... SOGoUserDefaults.m:92:60: warning: instance method '-getCDefaultsSize' not found (return type defaults to 'id') [-Wobjc-method-access] 92 | [ud setObject: [NSNumber numberWithUnsignedLongLong: [up getCDefaultsSize]] forKey: @"CDefaultsSize"]; // Add c_defaults field size | ^~~~~~~~~~~~~~~~ ./SOGoUserProfile.h:44:12: note: receiver is instance of class declared here 44 | @interface SOGoUserProfile : NSObject | ^ SOGoUserDefaults.m:92:56: warning: incompatible pointer to integer conversion sending 'id' to parameter of type 'unsigned long long' [-Wint-conversion] 92 | [ud setObject: [NSNumber numberWithUnsignedLongLong: [up getCDefaultsSize]] forKey: @"CDefaultsSize"]; // Add c_defaults field size | ^~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSValue.h:220:63: note: passing argument to parameter 'value' here 220 | + (NSNumber*) numberWithUnsignedLongLong: (unsigned long long)value; | ^ SOGoUserDefaults.m:639:18: warning: incompatible pointer to integer conversion sending 'BOOL *' (aka 'unsigned char *') to parameter of type 'BOOL' (aka 'unsigned char'); dereference with * [-Wint-conversion] 639 | [self setBool: newValue forKey: @"SOGoMailDisplayFullEmail"]; | ^~~~~~~~ | * ../SOGo/SOGoDefaultsSource.h:63:26: note: passing argument to parameter 'value' here 63 | - (void) setBool: (BOOL) value forKey: (NSString *) key; | ^ SOGoUserDefaults.m:644:10: warning: incompatible integer to pointer conversion returning 'BOOL' (aka 'unsigned char') from a function with result type 'BOOL *' (aka 'unsigned char *') [-Wint-conversion] 644 | return [self boolForKey: @"SOGoMailDisplayFullEmail"]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling file SOGoUserSettings.m ... Compiling file SOGoDateFormatter.m ... Compiling file SOGoPermissions.m ... Compiling file SOGoStartupLogger.m ... Compiling file SOGoUserManager.m ... SOGoUserManager.m:645:22: warning: 'NSArray' may not respond to 'length' 645 | if([domainsKnown length] == 0 && [domainsAllowed length] == 0) | ~~~~~~~~~~~~ ^ SOGoUserManager.m:645:54: warning: 'NSArray' may not respond to 'length' 645 | if([domainsKnown length] == 0 && [domainsAllowed length] == 0) | ~~~~~~~~~~~~~~ ^ SOGoUserManager.m:838:33: warning: sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 838 | [us removeObjectForKey: kPasswordRecoveryTokenKey]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../SOGo/SOGoDefaultsSource.h:61:43: note: passing argument to parameter 'key' here 61 | - (void) removeObjectForKey: (NSString *) key; | ^ SOGoUserManager.m:1409:32: warning: incompatible pointer types assigning to 'NSMutableString *' from 'NSString *' [-Wincompatible-pointer-types] 1409 | obfuscatedSecondaryEmail = [userDefaults passwordRecoverySecondaryEmail]; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SOGoUserManager.m:1414:40: warning: incompatible pointer types assigning to 'NSMutableString *' from 'NSString *' [-Wincompatible-pointer-types] 1414 | obfuscatedSecondaryEmail = [obfuscatedSecondaryEmail stringByReplacingCharactersInRange:NSMakeRange(i, 1) withString:@"*"]; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SOGoUserManager.m:1420:44: warning: incompatible pointer types assigning to 'NSMutableString *' from 'NSString *' [-Wincompatible-pointer-types] 1420 | obfuscatedSecondaryEmail = [obfuscatedSecondaryEmail stringByReplacingCharactersInRange:NSMakeRange(j, 1) withString:@"*"]; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SOGoUserManager.m:1450:35: warning: sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1450 | [us setObject: jwtToken forKey: kPasswordRecoveryTokenKey]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../SOGo/SOGoDefaultsSource.h:59:53: note: passing argument to parameter 'key' here 59 | - (void) setObject: (id) value forKey: (NSString *) key; | ^ SOGoUserManager.m:1522:28: warning: sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1522 | return [us stringForKey: kPasswordRecoveryTokenKey]; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../SOGo/SOGoDefaultsSource.h:77:43: note: passing argument to parameter 'key' here 77 | - (NSString *) stringForKey: (NSString *) key; | ^ 8 warnings generated. Compiling file LDAPSource.m ... LDAPSource.m:613:9: warning: variable 'bindConnection' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 613 | if ([_login length] > 0 && [_pwd length] > 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LDAPSource.m:674:4: note: uninitialized use occurs here 674 | [bindConnection release]; | ^~~~~~~~~~~~~~ LDAPSource.m:613:5: note: remove the 'if' if its condition is always true 613 | if ([_login length] > 0 && [_pwd length] > 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 614 | { LDAPSource.m:613:9: warning: variable 'bindConnection' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] 613 | if ([_login length] > 0 && [_pwd length] > 0) | ^~~~~~~~~~~~~~~~~~~ LDAPSource.m:674:4: note: uninitialized use occurs here 674 | [bindConnection release]; | ^~~~~~~~~~~~~~ LDAPSource.m:613:9: note: remove the '&&' if its condition is always true 613 | if ([_login length] > 0 && [_pwd length] > 0) | ^~~~~~~~~~~~~~~~~~~~~~ LDAPSource.m:606:35: note: initialize the variable 'bindConnection' to silence this warning 606 | NGLdapConnection *bindConnection; | ^ | = nil LDAPSource.m:788:9: warning: variable 'bindConnection' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 788 | if ([login length] > 0) | ^~~~~~~~~~~~~~~~~~ LDAPSource.m:912:4: note: uninitialized use occurs here 912 | [bindConnection release]; | ^~~~~~~~~~~~~~ LDAPSource.m:788:5: note: remove the 'if' if its condition is always true 788 | if ([login length] > 0) | ^~~~~~~~~~~~~~~~~~~~~~~ 789 | { LDAPSource.m:781:35: note: initialize the variable 'bindConnection' to silence this warning 781 | NGLdapConnection *bindConnection; | ^ | = nil 3 warnings generated. Compiling file LDAPSourceSchema.m ... LDAPSourceSchema.m:64:26: warning: variable 'parenLevel' set but not used [-Wunused-but-set-variable] 64 | NSUInteger count, max, parenLevel = 0, firstChar = (NSUInteger) -1; | ^ 1 warning generated. Compiling file SOGoPasswordPolicy.m ... SOGoPasswordPolicy.m:107:64: warning: sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 107 | stringByAppendingString: SPECIAL_SYMBOL_ALLOWED]; | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSString.h:618:51: note: passing argument to parameter 'aString' here 618 | - (NSString*) stringByAppendingString: (NSString*)aString; | ^ 1 warning generated. Compiling file SQLSource.m ... SQLSource.m:181:2: warning: this domain code has no effect yet [-W#warnings] 181 | #warning this domain code has no effect yet | ^ SQLSource.m:496:10: warning: incompatible pointer to integer conversion returning 'id' from a function with result type 'BOOL' (aka 'unsigned char') [-Wint-conversion] 496 | return [self connection]; | ^~~~~~~~~~~~~~~~~ 2 warnings generated. Compiling file SOGoUserProfile.m ... SOGoUserProfile.m:290:2: warning: Note that this work-around only works for first-level objects. [-W#warnings] 290 | #warning Note that this work-around only works for first-level objects. | ^ 1 warning generated. Compiling file SOGoSQLUserProfile.m ... SOGoSQLUserProfile.m:59:8: warning: This is a hack for providing an EOAttribute definition that is compatible with all the backends that we support [-W#warnings] 59 | #warning This is a hack for providing an EOAttribute definition \ | ^ SOGoSQLUserProfile.m:267:26: warning: sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 267 | if ([cache valueForKey:kCDefaultsLenKey]) { | ^~~~~~~~~~~~~~~~ ../SOGo/SOGoCache.h:75:42: note: passing argument to parameter 'key' here 75 | - (NSString *) valueForKey: (NSString *) key; | ^ SOGoSQLUserProfile.m:270:58: warning: sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 270 | r = [[formatter numberFromString: [cache valueForKey:kCDefaultsLenKey]] unsignedLongLongValue]; | ^~~~~~~~~~~~~~~~ ../SOGo/SOGoCache.h:75:42: note: passing argument to parameter 'key' here 75 | - (NSString *) valueForKey: (NSString *) key; | ^ SOGoSQLUserProfile.m:289:85: warning: sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 289 | [cache setValue: [[NSNumber numberWithUnsignedLongLong: r] stringValue] forKey: kCDefaultsLenKey]; | ^~~~~~~~~~~~~~~~ ../SOGo/SOGoCache.h:74:60: note: passing argument to parameter 'key' here 74 | - (void) setValue: (NSString *) value forKey: (NSString *) key; | ^ SOGoSQLUserProfile.m:258:21: warning: unused variable 'context' [-Wunused-variable] 258 | EOAdaptorContext *context; | ^~~~~~~ 5 warnings generated. Compiling file NSArray+DAV.m ... Compiling file NSArray+Utilities.m ... Compiling file NSCalendarDate+SOGo.m ... Compiling file NSDictionary+DAV.m ... NSDictionary+DAV.m:54:2: warning: this method could probably be optimized to speedup the rendering of thousands of records [-W#warnings] 54 | #warning this method could probably be optimized to speedup the rendering\ | ^ 1 warning generated. Compiling file NSDictionary+URL.m ... Compiling file NSDictionary+Utilities.m ... Compiling file NSNull+Utilities.m ... Compiling file NSNumber+Utilities.m ... Compiling file NSObject+DAV.m ... Compiling file NSObject+Utilities.m ... NSObject+Utilities.m:71:2: warning: the purpose of this method needs to be reviewed [-W#warnings] 71 | #warning the purpose of this method needs to be reviewed | ^ 1 warning generated. Compiling file NSString+DAV.m ... NSString+DAV.m:49:2: warning: we should use the same nomenclature as the webdav values... [-W#warnings] 49 | #warning we should use the same nomenclature as the webdav values... | ^ 1 warning generated. Compiling file NSString+Utilities.m ... NSString+Utilities.m:721:2: warning: this method is a quick and dirty way of detecting the file-format [-W#warnings] 721 | #warning this method is a quick and dirty way of detecting the file-format | ^ 1 warning generated. Compiling file NSString+Crypto.m ... NSString+Crypto.m:388:162: warning: format specifies type 'int' but the argument has type 'NSUInteger' (aka 'unsigned long') [-Wformat] 388 | *ex = [NSException exceptionWithName: kAES128ECError reason: [NSString stringWithFormat:@"Key must be %d bits, but key has %d bits", (AES_128_KEY_SIZE * 8), ([passwordScheme length] * 8)] userInfo: nil]; | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %lu NSString+Crypto.m:388:43: warning: sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 388 | *ex = [NSException exceptionWithName: kAES128ECError reason: [NSString stringWithFormat:@"Key must be %d bits, but key has %d bits", (AES_128_KEY_SIZE * 8), ([passwordScheme length] * 8)] userInfo: nil]; | ^~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSException.h:118:48: note: passing argument to parameter 'name' here 118 | + (NSException*) exceptionWithName: (NSString*)name | ^ NSString+Crypto.m:428:45: warning: sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 428 | *ex = [NSException exceptionWithName: kAES128ECError reason:@"Empty data" userInfo: nil]; | ^~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSException.h:118:48: note: passing argument to parameter 'name' here 118 | + (NSException*) exceptionWithName: (NSString*)name | ^ NSString+Crypto.m:460:164: warning: format specifies type 'int' but the argument has type 'NSUInteger' (aka 'unsigned long') [-Wformat] 460 | *ex = [NSException exceptionWithName: kAES128ECError reason: [NSString stringWithFormat:@"Key must be %d bits, but key has %d bits", (AES_128_KEY_SIZE * 8), ([passwordScheme length] * 8)] userInfo: nil]; | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %lu NSString+Crypto.m:460:45: warning: sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 460 | *ex = [NSException exceptionWithName: kAES128ECError reason: [NSString stringWithFormat:@"Key must be %d bits, but key has %d bits", (AES_128_KEY_SIZE * 8), ([passwordScheme length] * 8)] userInfo: nil]; | ^~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSException.h:118:48: note: passing argument to parameter 'name' here 118 | + (NSException*) exceptionWithName: (NSString*)name | ^ NSString+Crypto.m:515:47: warning: sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 515 | *ex = [NSException exceptionWithName: kAES128ECError reason:@"Empty data" userInfo: nil]; | ^~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSException.h:118:48: note: passing argument to parameter 'name' here 118 | + (NSException*) exceptionWithName: (NSString*)name | ^ NSString+Crypto.m:518:45: warning: sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 518 | *ex = [NSException exceptionWithName: kAES128ECError reason:@"Could not decrypt" userInfo: nil]; | ^~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSException.h:118:48: note: passing argument to parameter 'name' here 118 | + (NSException*) exceptionWithName: (NSString*)name | ^ NSString+Crypto.m:551:43: warning: sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 551 | *ex = [NSException exceptionWithName: kAES256GCMError reason: [NSString stringWithFormat:@"Key must be %d bits", (AES_256_KEY_SIZE * 8)] userInfo: nil]; | ^~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSException.h:118:48: note: passing argument to parameter 'name' here 118 | + (NSException*) exceptionWithName: (NSString*)name | ^ NSString+Crypto.m:560:45: warning: sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 560 | *ex = [NSException exceptionWithName: kAES256GCMError reason: [NSString stringWithFormat:@"IV must be %d bits", (GMC_IV_LEN * 8)] userInfo: nil]; | ^~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSException.h:118:48: note: passing argument to parameter 'name' here 118 | + (NSException*) exceptionWithName: (NSString*)name | ^ NSString+Crypto.m:591:45: warning: sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 591 | *ex = [NSException exceptionWithName: kAES256GCMError reason:@"Encryption not successful" userInfo: nil]; | ^~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSException.h:118:48: note: passing argument to parameter 'name' here 118 | + (NSException*) exceptionWithName: (NSString*)name | ^ NSString+Crypto.m:604:45: warning: sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 604 | *ex = [NSException exceptionWithName: kAES256GCMError reason:@"Empty data" userInfo: nil]; | ^~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSException.h:118:48: note: passing argument to parameter 'name' here 118 | + (NSException*) exceptionWithName: (NSString*)name | ^ NSString+Crypto.m:535:13: warning: variable 'value' set but not used [-Wunused-but-set-variable] 535 | NSString *value; | ^ NSString+Crypto.m:536:12: warning: unused variable 'error' [-Wunused-variable] 536 | NSError *error; | ^~~~~ NSString+Crypto.m:632:45: warning: sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 632 | *ex = [NSException exceptionWithName: kAES256GCMError reason: [NSString stringWithFormat:@"Key must be %d bits", (AES_256_KEY_SIZE * 8)] userInfo: nil]; | ^~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSException.h:118:48: note: passing argument to parameter 'name' here 118 | + (NSException*) exceptionWithName: (NSString*)name | ^ NSString+Crypto.m:636:45: warning: sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 636 | *ex = [NSException exceptionWithName: kAES256GCMError reason: [NSString stringWithFormat:@"Key must be %d bits", (GMC_IV_LEN * 8)] userInfo: nil]; | ^~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSException.h:118:48: note: passing argument to parameter 'name' here 118 | + (NSException*) exceptionWithName: (NSString*)name | ^ NSString+Crypto.m:640:45: warning: sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 640 | *ex = [NSException exceptionWithName: kAES256GCMError reason: [NSString stringWithFormat:@"Tag must be %d bits", (GMC_TAG_LEN * 8)] userInfo: nil]; | ^~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSException.h:118:48: note: passing argument to parameter 'name' here 118 | + (NSException*) exceptionWithName: (NSString*)name | ^ NSString+Crypto.m:683:47: warning: sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 683 | *ex = [NSException exceptionWithName: kAES256GCMError reason:@"Decryption ok but output empty" userInfo: nil]; | ^~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSException.h:118:48: note: passing argument to parameter 'name' here 118 | + (NSException*) exceptionWithName: (NSString*)name | ^ NSString+Crypto.m:686:45: warning: sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 686 | *ex = [NSException exceptionWithName: kAES256GCMError reason:@"Decryption not ok" userInfo: nil]; | ^~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSException.h:118:48: note: passing argument to parameter 'name' here 118 | + (NSException*) exceptionWithName: (NSString*)name | ^ NSString+Crypto.m:696:45: warning: sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 696 | *ex = [NSException exceptionWithName: kAES128ECError reason:@"Could decrypt but value is null" userInfo: nil]; | ^~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSException.h:118:48: note: passing argument to parameter 'name' here 118 | + (NSException*) exceptionWithName: (NSString*)name | ^ NSString+Crypto.m:662:9: warning: unused variable 'status' [-Wunused-variable] 662 | int status = 0; | ^~~~~~ 20 warnings generated. Compiling file NSData+Crypto.m ... NSData+Crypto.m:415:3: warning: 'MD4' is deprecated [-Wdeprecated-declarations] 415 | MD4([self bytes], [self length], md4); | ^ /usr/include/openssl/md4.h:53:1: note: 'MD4' has been explicitly marked deprecated here 53 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD4(const unsigned char *d, size_t n, | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ NSData+Crypto.m:436:3: warning: 'MD5' is deprecated [-Wdeprecated-declarations] 436 | MD5([self bytes], [self length], md5); | ^ /usr/include/openssl/md5.h:52:1: note: 'MD5' has been explicitly marked deprecated here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ NSData+Crypto.m:521:3: warning: 'MD5_Init' is deprecated [-Wdeprecated-declarations] 521 | MD5_Init(&ctx); | ^ /usr/include/openssl/md5.h:49:1: note: 'MD5_Init' has been explicitly marked deprecated here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ NSData+Crypto.m:522:3: warning: 'MD5_Transform' is deprecated [-Wdeprecated-declarations] 522 | MD5_Transform(&ctx, outer); | ^ /usr/include/openssl/md5.h:54:1: note: 'MD5_Transform' has been explicitly marked deprecated here 54 | OSSL_DEPRECATEDIN_3_0 void MD5_Transform(MD5_CTX *c, const unsigned char *b); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ NSData+Crypto.m:531:3: warning: 'MD5_Init' is deprecated [-Wdeprecated-declarations] 531 | MD5_Init(&ctx); | ^ /usr/include/openssl/md5.h:49:1: note: 'MD5_Init' has been explicitly marked deprecated here 49 | OSSL_DEPRECATEDIN_3_0 int MD5_Init(MD5_CTX *c); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ NSData+Crypto.m:532:3: warning: 'MD5_Transform' is deprecated [-Wdeprecated-declarations] 532 | MD5_Transform(&ctx, inner); | ^ /usr/include/openssl/md5.h:54:1: note: 'MD5_Transform' has been explicitly marked deprecated here 54 | OSSL_DEPRECATEDIN_3_0 void MD5_Transform(MD5_CTX *c, const unsigned char *b); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ 6 warnings generated. Compiling file NSURL+DAV.m ... Compiling file SOGoSession.m ... SOGoSession.m:73:19: warning: incompatible pointer types sending 'NSDate *' to parameter of type 'NSCalendarDate *' [-Wincompatible-pointer-types] 73 | creationDate: [NSDate dateWithTimeIntervalSince1970: [[d objectForKey: @"c_creationdate"] intValue]] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSDate.h:143:1: note: class method 'dateWithTimeIntervalSince1970:' is assumed to return an instance of its receiver type ('NSDate *') 143 | + (instancetype) dateWithTimeIntervalSince1970: (NSTimeInterval)seconds; | ^ ../../SOPE/GDLContentStore/GCSSessionsFolder.h:50:42: note: passing argument to parameter 'theCreationDate' here 50 | creationDate: (NSCalendarDate *) theCreationDate | ^ 1 warning generated. Compiling file SOGoCASSession.m ... SOGoCASSession.m:399:14: warning: variable 'request' set but not used [-Wunused-but-set-variable] 399 | WORequest *request; | ^ 1 warning generated. Compiling file SOGoDAVAuthenticator.m ... Compiling file SOGoProxyAuthenticator.m ... SOGoProxyAuthenticator.m:106:2: warning: the DAV authenticator is pretty similar to this one. We should enable the use of the former for Basic auth type through some defaults. [-W#warnings] 106 | #warning the DAV authenticator is pretty similar to this one. We should enable \ | ^ 1 warning generated. Compiling file SOGoStaticAuthenticator.m ... Compiling file SOGoEmptyAuthenticator.m ... SOGoEmptyAuthenticator.m:25:17: warning: method 'passwordInContext:' in protocol 'SOGoAuthenticator' not implemented [-Wprotocol] 25 | @implementation SOGoEmptyAuthenticator | ^ ./SOGoAuthenticator.h:33:1: note: method 'passwordInContext:' declared here 33 | - (NSString *) passwordInContext: (WOContext *) context; | ^ SOGoEmptyAuthenticator.m:25:17: warning: method 'userInContext:' in protocol 'SOGoAuthenticator' not implemented [-Wprotocol] 25 | @implementation SOGoEmptyAuthenticator | ^ ./SOGoAuthenticator.h:34:1: note: method 'userInContext:' declared here 34 | - (SOGoUser *) userInContext: (WOContext *) context; | ^ SOGoEmptyAuthenticator.m:25:17: warning: method 'imapPasswordInContext:forURL:forceRenew:' in protocol 'SOGoAuthenticator' not implemented [-Wprotocol] 25 | @implementation SOGoEmptyAuthenticator | ^ ./SOGoAuthenticator.h:35:1: note: method 'imapPasswordInContext:forURL:forceRenew:' declared here 35 | - (NSString *) imapPasswordInContext: (WOContext *) context | ^ 3 warnings generated. Compiling file SOGoWebAuthenticator.m ... Compiling file SOGoWebDAVAclManager.m ... SOGoWebDAVAclManager.m:156:2: warning: this method should be simplified! [-W#warnings] 156 | #warning this method should be simplified! | ^ SOGoWebDAVAclManager.m:251:10: warning: incompatible pointer types returning 'NSDictionary *' from a function with result type 'SOGoWebDAVValue *' [-Wincompatible-pointer-types] 251 | return davElementWithContent (@"supported-privilege", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 252 | @"DAV:", privilege); | ~~~~~~~~~~~~~~~~~~~ ./NSObject+DAV.h:43:3: note: expanded from macro 'davElementWithContent' 43 | [NSDictionary dictionaryWithObjectsAndKeys: t, @"method", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 44 | n, @"ns", \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 45 | c, @"content", nil] | ~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSDictionary.h:56:1: note: class method 'dictionaryWithObjectsAndKeys:' is assumed to return an instance of its receiver type ('NSDictionary *') 56 | + (instancetype) dictionaryWithObjectsAndKeys: (id)firstObject, ...; | ^ 2 warnings generated. Compiling file SOGoWebDAVValue.m ... Compiling file SOGoMailer.m ... SOGoMailer.m:431:2: warning: FIXME - we should fix the case issue when we switch to Pantomime [-W#warnings] 431 | #warning FIXME - we should fix the case issue when we switch to Pantomime | ^ SOGoMailer.m:166:29: warning: incompatible integer to pointer conversion assigning to 'BOOL *' (aka 'unsigned char *') from 'BOOL' (aka 'unsigned char') [-Wint-conversion] 166 | smtpMasterUserEnabled = [dd smtpMasterUserEnabled]; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ SOGoMailer.m:184:29: warning: incompatible integer to pointer conversion assigning to 'BOOL *' (aka 'unsigned char *') from 'BOOL' (aka 'unsigned char') [-Wint-conversion] 184 | smtpMasterUserEnabled = [dd smtpMasterUserEnabled]; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ SOGoMailer.m:200:31: warning: expression which evaluates to zero treated as a null pointer constant of type 'BOOL *' (aka 'unsigned char *') [-Wnon-literal-null-conversion] 200 | smtpMasterUserEnabled = NO; | ^~ /pbulk/work/www/SOGo5/work/.buildlink/include/objc/runtime.h:210:14: note: expanded from macro 'NO' 210 | # define NO __objc_no | ^~~~~~~~~ SOGoMailer.m:287:47: warning: instance method '-activeUser' not found (return type defaults to 'id') [-Wobjc-method-access] 287 | user = [SOGoUser userWithLogin: [[woContext activeUser] login]]; | ^~~~~~~~~~ ./SOGoAuthenticator.h:29:8: note: receiver is instance of class declared here 29 | @class WOContext; | ^ 5 warnings generated. Compiling file SOGoUser.m ... SOGoUser.m:1252:2: warning: this is a hack to work-around the poor implementation of PROPPATCH in SOPE [-W#warnings] 1252 | #warning this is a hack to work-around the poor implementation of PROPPATCH in SOPE | ^ SOGoUser.m:1080:49: warning: instance method '-decryptAES256GCM:iv:tag:exception:' not found (return type defaults to 'id') [-Wobjc-method-access] 1080 | password = [encryptedPassword decryptAES256GCM: sogoSecret iv: iv tag: tag exception:&exception]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSString.h:517:12: note: receiver is instance of class declared here 517 | @interface NSString :NSObject <NSCoding, NSCopying, NSMutableCopying> | ^ SOGoUser.m:1095:28: warning: 'NSDictionary' may not respond to 'setObject:forKey:' 1095 | [account setObject: password forKey: @"password"]; | ~~~~~~~ ^ SOGoUser.m:1113:7: warning: variable 'tmpMailAccounts' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 1113 | if (mailAccounts && [mailAccounts count] > 0) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SOGoUser.m:1139:10: note: uninitialized use occurs here 1139 | return tmpMailAccounts; | ^~~~~~~~~~~~~~~ SOGoUser.m:1113:3: note: remove the 'if' if its condition is always true 1113 | if (mailAccounts && [mailAccounts count] > 0) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SOGoUser.m:1113:7: warning: variable 'tmpMailAccounts' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] 1113 | if (mailAccounts && [mailAccounts count] > 0) { | ^~~~~~~~~~~~ SOGoUser.m:1139:10: note: uninitialized use occurs here 1139 | return tmpMailAccounts; | ^~~~~~~~~~~~~~~ SOGoUser.m:1113:7: note: remove the '&&' if its condition is always true 1113 | if (mailAccounts && [mailAccounts count] > 0) { | ^~~~~~~~~~~~~~~ SOGoUser.m:1108:34: note: initialize the variable 'tmpMailAccounts' to silence this warning 1108 | NSMutableArray *tmpMailAccounts, *tmpIdentities; | ^ | = nil 5 warnings generated. Compiling file CardElement+SOGo.m ... Compiling file DOMNode+SOGo.m ... DOMNode+SOGo.m:66:24: warning: incompatible pointer types assigning to 'NSMutableArray<DOMNodeList> *' from 'NSMutableArray *' [-Wincompatible-pointer-types] 66 | childElementsWithTag = [NSMutableArray array]; | ^ ~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSArray.h:63:1: note: class method 'array' is assumed to return an instance of its receiver type ('NSMutableArray *') 63 | + (instancetype) array; | ^ 1 warning generated. Compiling file WORequest+SOGo.m ... WORequest+SOGo.m:35:2: warning: this should be changed someday [-W#warnings] 35 | #warning this should be changed someday | ^ WORequest+SOGo.m:31:17: warning: method definition for 'isMacOSXCalendarApp' not found [-Wincomplete-implementation] 31 | @implementation WORequest (SOGoSOPEUtilities) | ^ ./WORequest+SOGo.h:36:1: note: method 'isMacOSXCalendarApp' declared here 36 | - (BOOL) isMacOSXCalendarApp; | ^ 2 warnings generated. Compiling file WOResourceManager+SOGo.m ... Compiling file WOResponse+SOGo.m ... Compiling file WOContext+SOGo.m ... Compiling file SOGoCredentialsFile.m ... Compiling file SOGoTextTemplateFile.m ... Compiling file SOGoZipArchiver.m ... Compiling file JWT.m ... JWT.m:142:9: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 142 | [content UTF8String], [content length], | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:55:42: note: passing argument to parameter 'data' here 55 | const unsigned char *data, size_t data_len, | ^ JWT.m:203:100: warning: sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 203 | if (![headerDict objectForKey: kTypKey] || ![[headerDict objectForKey: kTypKey] isEqualToString: kTyp]) { | ^~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSString.h:674:38: note: passing argument to parameter 'aString' here 674 | - (BOOL) isEqualToString: (NSString*)aString; | ^ JWT.m:208:100: warning: sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 208 | if (![headerDict objectForKey: kAlgKey] || ![[headerDict objectForKey: kAlgKey] isEqualToString: kAlg]) { | ^~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSString.h:674:38: note: passing argument to parameter 'aString' here 674 | - (BOOL) isEqualToString: (NSString*)aString; | ^ 3 warnings generated. Compiling file NGMimeBodyPart+SOGo.m ... NGMimeBodyPart+SOGo.m:38:79: warning: instance method '-stringValue' not found (return type defaults to 'id') [-Wobjc-method-access] 38 | return [[NGMimeBodyPart imageMimeTypes] containsObject: [[self contentType] stringValue]]; | ^~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/NGMime/NGPart.h:35:8: note: receiver is instance of class declared here 35 | @class NGMimeType; | ^ 1 warning generated. Compiling file NGMimeFileData+SOGo.m ... Compiling file SOGoMobileProvision.m ... SOGoMobileProvision.m:40:25: warning: instance method '-activeUser' not found (return type defaults to 'id') [-Wobjc-method-access] 40 | activeUser = [context activeUser]; | ^~~~~~~~~~ ../SOGo/SOGoObject.h:52:8: note: receiver is instance of class declared here 52 | @class WOContext; | ^ SOGoMobileProvision.m:41:24: warning: instance method '-serverURL' not found (return type defaults to 'id') [-Wobjc-method-access] 41 | serverURL = [context serverURL]; | ^~~~~~~~~ ../SOGo/SOGoObject.h:52:8: note: receiver is instance of class declared here 52 | @class WOContext; | ^ SOGoMobileProvision.m:44:11: warning: class method '+errorWithFormat:' not found (return type defaults to 'id') [-Wobjc-method-access] 44 | [self errorWithFormat: @"Invalid provisioning profile - no parameters"]; | ^~~~~~~~~~~~~~~ SOGoMobileProvision.m:96:10: warning: incompatible pointer types returning 'NSData *' from a function with result type 'NSString *' [-Wincompatible-pointer-types] 96 | return [NSPropertyListSerialization dataWithPropertyList: provisioning | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 97 | format: NSPropertyListXMLFormat_v1_0 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 98 | options: 0 | ~~~~~~~~~~ 99 | error: &error]; | ~~~~~~~~~~~~~~ SOGoMobileProvision.m:32:11: warning: unused variable 'plistData' [-Wunused-variable] 32 | NSData *plistData; | ^~~~~~~~~ SOGoMobileProvision.m:107:13: warning: incompatible pointer types assigning to 'NSData *' from 'NSString *' [-Wincompatible-pointer-types] 107 | plistData = [self _plistWithContext: context andPath: path andType: ProvisioningTypeCalendar andName: name]; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SOGoMobileProvision.m:111:11: warning: class method '+errorWithFormat:' not found (return type defaults to 'id') [-Wobjc-method-access] 111 | [self errorWithFormat: @"Invalid provisioning profile plist for account : %@", [activeUser login]]; | ^~~~~~~~~~~~~~~ SOGoMobileProvision.m:111:85: warning: variable 'activeUser' is uninitialized when used here [-Wuninitialized] 111 | [self errorWithFormat: @"Invalid provisioning profile plist for account : %@", [activeUser login]]; | ^~~~~~~~~~ SOGoMobileProvision.m:105:23: note: initialize the variable 'activeUser' to silence this warning 105 | SOGoUser *activeUser; | ^ | = nil SOGoMobileProvision.m:121:13: warning: incompatible pointer types assigning to 'NSData *' from 'NSString *' [-Wincompatible-pointer-types] 121 | plistData = [self _plistWithContext: context andPath: path andType: ProvisioningTypeContact andName: name]; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SOGoMobileProvision.m:125:11: warning: class method '+errorWithFormat:' not found (return type defaults to 'id') [-Wobjc-method-access] 125 | [self errorWithFormat: @"Invalid provisioning profile plist for account : %@", [activeUser login]]; | ^~~~~~~~~~~~~~~ SOGoMobileProvision.m:125:85: warning: variable 'activeUser' is uninitialized when used here [-Wuninitialized] 125 | [self errorWithFormat: @"Invalid provisioning profile plist for account : %@", [activeUser login]]; | ^~~~~~~~~~ SOGoMobileProvision.m:119:23: note: initialize the variable 'activeUser' to silence this warning 119 | SOGoUser *activeUser; | ^ | = nil 11 warnings generated. Compiling file SOGoAdmin.m ... SOGoAdmin.m:52:1: warning: method possibly missing a [super dealloc] call [-Wobjc-missing-super-calls] 52 | } | ^ SOGoAdmin.m:64:48: warning: sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 64 | cache = [[SOGoCache sharedCache] valueForKey:kCacheMotdKey]; | ^~~~~~~~~~~~~ ./SOGoCache.h:75:42: note: passing argument to parameter 'key' here 75 | - (NSString *) valueForKey: (NSString *) key; | ^ SOGoAdmin.m:68:112: warning: sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 68 | [[SOGoCache sharedCache] setValue:[[[GCSFolderManager defaultFolderManager] adminFolder] getMotd] forKey:kCacheMotdKey]; | ^~~~~~~~~~~~~ ./SOGoCache.h:74:60: note: passing argument to parameter 'key' here 74 | - (void) setValue: (NSString *) value forKey: (NSString *) key; | ^ SOGoAdmin.m:72:54: warning: sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 72 | [[SOGoCache sharedCache] setValue:cache forKey:kCacheMotdKey]; | ^~~~~~~~~~~~~ ./SOGoCache.h:74:60: note: passing argument to parameter 'key' here 74 | - (void) setValue: (NSString *) value forKey: (NSString *) key; | ^ SOGoAdmin.m:85:48: warning: sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 85 | [[SOGoCache sharedCache] removeValueForKey:kCacheMotdKey]; | ^~~~~~~~~~~~~ ./SOGoCache.h:76:42: note: passing argument to parameter 'key' here 76 | - (void) removeValueForKey: (NSString *) key; | ^ SOGoAdmin.m:97:66: warning: instance method '-writeMotd:' not found (return type defaults to 'id') [-Wobjc-method-access] 97 | error = [[[GCSFolderManager defaultFolderManager] adminFolder] writeMotd: safeMotd]; | ^~~~~~~~~ ../../SOPE/GDLContentStore/GCSFolderManager.h:34:44: note: receiver is instance of class declared here 34 | @class GCSChannelManager, GCSAlarmsFolder, GCSAdminFolder, GCSFolder, GCSFolderType, GCSSessionsFolder; | ^ SOGoAdmin.m:99:55: warning: sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 99 | [[SOGoCache sharedCache] setValue:safeMotd forKey:kCacheMotdKey]; | ^~~~~~~~~~~~~ ./SOGoCache.h:74:60: note: passing argument to parameter 'key' here 74 | - (void) setValue: (NSString *) value forKey: (NSString *) key; | ^ 7 warnings generated. Creating derived_src/NSFramework_SOGo.m... Compiling file derived_src/NSFramework_SOGo.m ... Linking framework SOGo ... Copying resources into the framework wrapper... Creating SOGo.framework/Versions/5/Resources/Info-gnustep.plist... Creating SOGo.framework/sogo... gmake[3]: Nothing to be done for 'internal-master-library-all'. gmake[3]: Nothing to be done for 'internal-master-tool-all'. Making all in Appointments ... Making all for wobundle Appointments... Compiling file Product.m ... Compiling file NSArray+Appointments.m ... Compiling file iCalAlarm+SOGo.m ... Compiling file iCalCalendar+SOGo.m ... iCalCalendar+SOGo.m:42:19: warning: unused variable 'recId' [-Wunused-variable] 42 | NSCalendarDate* recId; | ^~~~~ 1 warning generated. Compiling file iCalEntityObject+SOGo.m ... iCalEntityObject+SOGo.m:474:2: warning: this method should be implemented in a category of iCalToDo [-W#warnings] 474 | #warning this method should be implemented in a category of iCalToDo | ^ iCalEntityObject+SOGo.m:838:45: warning: incompatible pointer types assigning to 'NSCalendarDate *' from 'NSDate *' [-Wincompatible-pointer-types] 838 | nextAlarmDate = [NSDate dateWithTimeIntervalSince1970: c_nextalarm]; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSDate.h:143:1: note: class method 'dateWithTimeIntervalSince1970:' is assumed to return an instance of its receiver type ('NSDate *') 143 | + (instancetype) dateWithTimeIntervalSince1970: (NSTimeInterval)seconds; | ^ iCalEntityObject+SOGo.m:843:24: warning: incompatible pointer types assigning to 'NSCalendarDate *' from 'NSDate *' [-Wincompatible-pointer-types] 843 | nextAlarmDate = [NSDate dateWithTimeIntervalSince1970: c_nextalarm]; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSDate.h:143:1: note: class method 'dateWithTimeIntervalSince1970:' is assumed to return an instance of its receiver type ('NSDate *') 143 | + (instancetype) dateWithTimeIntervalSince1970: (NSTimeInterval)seconds; | ^ 3 warnings generated. Compiling file iCalRepeatableEntityObject+SOGo.m ... iCalRepeatableEntityObject+SOGo.m:53:2: warning: we could return an NSArray instead and feed it as such to the iCalRecurrenceRule in SOGoAppointmentFolder... [-W#warnings] 53 | #warning we could return an NSArray instead and feed it as such to the iCalRecurrenceRule in SOGoAppointmentFolder... | ^ 1 warning generated. Compiling file iCalEvent+SOGo.m ... Compiling file iCalEventChanges+SOGo.m ... Compiling file iCalPerson+SOGo.m ... iCalPerson+SOGo.m:137:1: warning: category is implementing a method which will also be implemented by its primary class [-Wobjc-protocol-method-implementation] 137 | - (NSString *) sentBy | ^ ../../SOPE/NGCards/iCalPerson.h:79:1: note: method 'sentBy' declared here 79 | - (NSString *) sentBy; | ^ 1 warning generated. Compiling file iCalToDo+SOGo.m ... Compiling file SOGoCalendarComponent.m ... SOGoCalendarComponent.m:849:2: warning: this could be optimized in a class hierarchy common with the SOGoObject acl notification mechanism [-W#warnings] 849 | #warning this could be optimized in a class hierarchy common with the \ | ^ SOGoCalendarComponent.m:880:2: warning: SOPE is just plain stupid here - if you change the case of keys, it will break the encoding of fields [-W#warnings] 880 | #warning SOPE is just plain stupid here - if you change the case of keys, it will break the encoding of fields | ^ SOGoCalendarComponent.m:970:2: warning: SOPE is just plain stupid here - if you change the case of keys, it will break the encoding of fields [-W#warnings] 970 | #warning SOPE is just plain stupid here - if you change the case of keys, it will break the encoding of fields | ^ SOGoCalendarComponent.m:1142:2: warning: SOPE is just plain stupid here - if you change the case of keys, it will break the encoding of fields [-W#warnings] 1142 | #warning SOPE is just plain stupid here - if you change the case of keys, it will break the encoding of fields | ^ SOGoCalendarComponent.m:1407:2: warning: Should we not remove the concept of Organizer and Participant roles? [-W#warnings] 1407 | #warning Should we not remove the concept of Organizer and Participant roles? | ^ SOGoCalendarComponent.m:1530:2: warning: alarms: we do not handle occurrences [-W#warnings] 1530 | #warning alarms: we do not handle occurrences | ^ 6 warnings generated. Compiling file SOGoAppointmentObject.m ... SOGoAppointmentObject.m:109:24: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value] 109 | nbrDays = ((float) abs (interval) / 86400); | ^ SOGoAppointmentObject.m:109:24: note: remove the call to 'abs' since unsigned values cannot be negative 109 | nbrDays = ((float) abs (interval) / 86400); | ^~~ SOGoAppointmentObject.m:1554:21: warning: incompatible pointer types assigning to 'NSMutableArray *' from 'NSArray *' [-Wincompatible-pointer-types] 1554 | delegates = [NSArray arrayWithObject: delegate]; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSArray.h:69:1: note: class method 'arrayWithObject:' is assumed to return an instance of its receiver type ('NSArray *') 69 | + (instancetype) arrayWithObject: (id)anObject; | ^ 2 warnings generated. Compiling file SOGoTaskObject.m ... SOGoTaskObject.m:63:2: warning: this code should be put in SOGoCalendarComponent once the UID hack in SOGoAppointmentObject is resolved [-W#warnings] 63 | #warning this code should be put in SOGoCalendarComponent once the UID hack\ | ^ 1 warning generated. Compiling file SOGoComponentOccurence.m ... SOGoComponentOccurence.m:214:2: warning: most of SOGoCalendarComponent and SOGoComponentOccurence share the same external interface... they should be siblings or SOGoComponentOccurence the parent class of SOGoCalendarComponent... [-W#warnings] 214 | #warning most of SOGoCalendarComponent and SOGoComponentOccurence share the same external interface... \ | ^ SOGoComponentOccurence.m:162:37: warning: incompatible pointer types sending 'iCalRepeatableEntityObject *' to parameter of type 'iCalEvent *' [-Wincompatible-pointer-types] 162 | [container prepareDeleteOccurence: component]; | ^~~~~~~~~ ./SOGoAppointmentObject.h:52:48: note: passing argument to parameter 'occurence' here 52 | - (void) prepareDeleteOccurence: (iCalEvent *) occurence; | ^ 2 warnings generated. Compiling file SOGoAppointmentOccurence.m ... Compiling file SOGoTaskOccurence.m ... Compiling file SOGoAppointmentFolder.m ... SOGoAppointmentFolder.m:438:2: warning: Duplicated code from SOGoGCSFolder subscribeUserOrGroup [-W#warnings] 438 | #warning Duplicated code from SOGoGCSFolder subscribeUserOrGroup | ^ SOGoAppointmentFolder.m:775:2: warning: filters should make use of EOQualifier [-W#warnings] 775 | #warning filters should make use of EOQualifier | ^ SOGoAppointmentFolder.m:1368:2: warning: this code is ugly: we should not mix objects with different types as it reduces readability [-W#warnings] 1368 | #warning this code is ugly: we should not mix objects with different types as \ | ^ SOGoAppointmentFolder.m:1497:2: warning: we do not take the participation status into account [-W#warnings] 1497 | #warning we do not take the participation status into account | ^ SOGoAppointmentFolder.m:1740:2: warning: we should use the EOFetchSpecification for that!!! (see doPROPFIND:) [-W#warnings] 1740 | #warning we should use the EOFetchSpecification for that!!! (see doPROPFIND:) | ^ SOGoAppointmentFolder.m:1742:2: warning: components in calendar-data query are ignored [-W#warnings] 1742 | #warning components in calendar-data query are ignored | ^ SOGoAppointmentFolder.m:1849:2: warning: This method lacks support for timeranges [-W#warnings] 1849 | #warning This method lacks support for timeranges | ^ SOGoAppointmentFolder.m:2013:2: warning: the list of fields should be taken from the .ocs description file [-W#warnings] 2013 | #warning the list of fields should be taken from the .ocs description file | ^ SOGoAppointmentFolder.m:2445:2: warning: we should merge this code with the code from the iTIP interpreter in MailPartViewer [-W#warnings] 2445 | #warning we should merge this code with the code from the iTIP interpreter in MailPartViewer | ^ SOGoAppointmentFolder.m:2512:2: warning: needs to handle errors [-W#warnings] 2512 | #warning needs to handle errors | ^ SOGoAppointmentFolder.m:469:22: warning: incompatible pointer types assigning to 'NSMutableArray *' from 'NSArray *' [-Wincompatible-pointer-types] 469 | allUsers = [NSArray arrayWithObject: sogoUser]; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSArray.h:69:1: note: class method 'arrayWithObject:' is assumed to return an instance of its receiver type ('NSArray *') 69 | + (instancetype) arrayWithObject: (id)anObject; | ^ SOGoAppointmentFolder.m:471:22: warning: incompatible pointer types assigning to 'NSMutableArray *' from 'NSArray *' [-Wincompatible-pointer-types] 471 | allUsers = [NSArray array]; | ^ ~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSArray.h:63:1: note: class method 'array' is assumed to return an instance of its receiver type ('NSArray *') 63 | + (instancetype) array; | ^ 12 warnings generated. Compiling file SOGoAppointmentFolderICS.m ... Compiling file SOGoAppointmentFolderObject.m ... Compiling file SOGoAppointmentFolderXML.m ... Compiling file SOGoAppointmentInboxFolder.m ... Compiling file SOGoWebAppointmentFolder.m ... Compiling file SOGoAppointmentFolders.m ... SOGoAppointmentFolders.m:353:2: warning: this method may be useful at a higher level [-W#warnings] 353 | #warning this method may be useful at a higher level | ^ SOGoAppointmentFolders.m:354:2: warning: not all values are simple strings... [-W#warnings] 354 | #warning not all values are simple strings... | ^ 2 warnings generated. Compiling file SOGoFreeBusyObject.m ... Compiling file SOGoUser+Appointments.m ... SOGoUser+Appointments.m:30:2: warning: duplicate of [SOGoGCSFolder userIsSubscriber:] [-W#warnings] 30 | #warning duplicate of [SOGoGCSFolder userIsSubscriber:] | ^ 1 warning generated. Compiling file SOGoUserFolder+Appointments.m ... Compiling file SOGoCalendarProxy.m ... Compiling file SOGoAptMailNotification.m ... Compiling file SOGoAptMailInvitation.m ... Compiling file SOGoAptMailDeletion.m ... Compiling file SOGoAptMailICalReply.m ... Compiling file SOGoAptMailUpdate.m ... Compiling file SOGoAptMailReceipt.m ... Compiling file SOGoAptMailReminder.m ... Compiling file SOGoEMailAlarmsManager.m ... Compiling file MSExchangeFreeBusySOAPRequest.m ... Compiling file MSExchangeFreeBusy.m ... gcc -shared \ -Wl,--no-as-needed -lcurl -L/usr/pkg/lib -L/usr/pkg/share/GNUstep/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/share/GNUstep/lib -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -pthread -fexceptions -rdynamic -o Appointments.SOGo/./Appointments \ ./obj/Appointments.obj/Product.m.o ./obj/Appointments.obj/NSArray+Appointments.m.o ./obj/Appointments.obj/iCalAlarm+SOGo.m.o ./obj/Appointments.obj/iCalCalendar+SOGo.m.o ./obj/Appointments.obj/iCalEntityObject+SOGo.m.o ./obj/Appointments.obj/iCalRepeatableEntityObject+SOGo.m.o ./obj/Appointments.obj/iCalEvent+SOGo.m.o ./obj/Appointments.obj/iCalEventChanges+SOGo.m.o ./obj/Appointments.obj/iCalPerson+SOGo.m.o ./obj/Appointments.obj/iCalToDo+SOGo.m.o ./obj/Appointments.obj/SOGoCalendarComponent.m.o ./obj/Appointments.obj/SOGoAppointmentObject.m.o ./obj/Appointments.obj/SOGoTaskObject.m.o ./obj/Appointments.obj/SOGoComponentOccurence.m.o ./obj/Appointments.obj/SOGoAppointmentOccurence.m.o ./obj/Appointments.obj/SOGoTaskOccurence.m.o ./obj/Appointments.obj/SOGoAppointmentFolder.m.o ./obj/Appointments.obj/SOGoAppointmentFolderICS.m.o ./obj/Appointments.obj/SOGoAppointmentFolderObject.m.o ./obj/Appointments.obj/SOGoAppointmentFolderXML.m.o ./obj/Appointments.obj/SOGoAppointmentInboxFolder.m.o ./obj/Appointments.obj/SOGoWebAppointmentFolder.m.o ./obj/Appointments.obj/SOGoAppointmentFolders.m.o ./obj/Appointments.obj/SOGoFreeBusyObject.m.o ./obj/Appointments.obj/SOGoUser+Appointments.m.o ./obj/Appointments.obj/SOGoUserFolder+Appointments.m.o ./obj/Appointments.obj/SOGoCalendarProxy.m.o ./obj/Appointments.obj/SOGoAptMailNotification.m.o ./obj/Appointments.obj/SOGoAptMailInvitation.m.o ./obj/Appointments.obj/SOGoAptMailDeletion.m.o ./obj/Appointments.obj/SOGoAptMailICalReply.m.o ./obj/Appointments.obj/SOGoAptMailUpdate.m.o ./obj/Appointments.obj/SOGoAptMailReceipt.m.o ./obj/Appointments.obj/SOGoAptMailReminder.m.o ./obj/Appointments.obj/SOGoEMailAlarmsManager.m.o ./obj/Appointments.obj/MSExchangeFreeBusySOAPRequest.m.o ./obj/Appointments.obj/MSExchangeFreeBusy.m.o \ -L../SOGo/SOGo.framework/Versions/Current/sogo/ -lSOGo -L../../SOGo/./obj/ -L../../SOPE/NGCards/./obj/ -lNGCards -L../../SOPE/GDLContentStore/./obj/ -lGDLContentStore -L/usr/local/lib -Wl,-rpath,/usr/pkg/lib/sogo -L../../SOPE/GDLContentStore/obj/ -L/pbulk/work/www/SOGo5/work/.home/GNUstep/Library/Libraries -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lNGObjWeb -lNGMime -lNGStreams -lNGExtensions -lGDLAccess -lNGObjWeb -lNGMime -lNGLdap -lNGStreams -lNGExtensions -lEOControl -lDOM -lSaxObjC -lSBJson -lgnustep-base -lpthread -lm Linking resources into the bundle wrapper... Linking localized resources into the bundle wrapper... Making all in Contacts ... Making all for bundle Contacts... Creating Contacts.SOGo/.... Compiling file Product.m ... Compiling file NGVCard+SOGo.m ... Compiling file NGVList+SOGo.m ... Compiling file SOGoFolder+CardDAV.m ... Compiling file SOGoContactFolders.m ... Compiling file SOGoContactGCSEntry.m ... Compiling file SOGoContactGCSList.m ... Compiling file SOGoContactGCSFolder.m ... Compiling file SOGoContactLDIFEntry.m ... SOGoContactLDIFEntry.m:165:95: warning: receiver 'NSNull' is a forward class and corresponding @interface may not exist [-Wreceiver-forward-class] 165 | return ([ldifEntry objectForKey: @"photo"] != nil && [ldifEntry objectForKey: @"photo"] != [NSNull null]); | ^~~~~~ ./SOGoContactLDIFEntry.h:30:8: note: forward declaration of class here 30 | @class NSNull; | ^ SOGoContactLDIFEntry.m:165:102: warning: class method '+null' not found (return type defaults to 'id') [-Wobjc-method-access] 165 | return ([ldifEntry objectForKey: @"photo"] != nil && [ldifEntry objectForKey: @"photo"] != [NSNull null]); | ^~~~ 2 warnings generated. Compiling file SOGoContactSourceFolder.m ... SOGoContactSourceFolder.m:709:2: warning: review this when fixing http://www.scalableogo.org/bugs/view.php?id=276 [-W#warnings] 709 | #warning review this when fixing http://www.scalableogo.org/bugs/view.php?id=276 | ^ SOGoContactSourceFolder.m:262:24: warning: receiver 'NSNull' is a forward class and corresponding @interface may not exist [-Wreceiver-forward-class] 262 | if(!data || data == [NSNull null] || [data length] < 1) | ^~~~~~ ./SOGoContactLDIFEntry.h:30:8: note: forward declaration of class here 30 | @class NSNull; | ^ SOGoContactSourceFolder.m:262:31: warning: class method '+null' not found (return type defaults to 'id') [-Wobjc-method-access] 262 | if(!data || data == [NSNull null] || [data length] < 1) | ^~~~ SOGoContactSourceFolder.m:264:24: warning: receiver 'NSNull' is a forward class and corresponding @interface may not exist [-Wreceiver-forward-class] 264 | if(!data || data == [NSNull null] || [data length] < 1) | ^~~~~~ ./SOGoContactLDIFEntry.h:30:8: note: forward declaration of class here 30 | @class NSNull; | ^ SOGoContactSourceFolder.m:264:31: warning: class method '+null' not found (return type defaults to 'id') [-Wobjc-method-access] 264 | if(!data || data == [NSNull null] || [data length] < 1) | ^~~~ 5 warnings generated. Compiling file SOGoUserFolder+Contacts.m ... Compiling file SOGoContactEntryPhoto.m ... Compiling file NSArray+Contacts.m ... Compiling file NSDictionary+LDIF.m ... Compiling file NSString+LDIF.m ... Linking bundle Contacts ... Creating Contacts.SOGo/Resources... Copying resources into the bundle wrapper... Copying localized resources into the bundle wrapper... Creating stamp file... Creating Contacts.SOGo/Resources/Info-gnustep.plist... Making all in Mailer ... Making all for wobundle Mailer... Compiling file Product.m ... Compiling file SOGoMailManager.m ... Compiling file SOGoDraftObject.m ... SOGoDraftObject.m:95:2: warning: -[NGImap4Connection postData:flags:toFolderURL:] should be enhanced to return at least the new uid [-W#warnings] 95 | #warning -[NGImap4Connection postData:flags:toFolderURL:] should be enhanced \ | ^ SOGoDraftObject.m:897:35: warning: class method '+imageMimeTypes' not found (return type defaults to 'id') [-Wobjc-method-access] 897 | && [[NGMimeBodyPart imageMimeTypes] containsObject: [currentInfo objectForKey: @"mimetype"]] | ^~~~~~~~~~~~~~ SOGoDraftObject.m:923:35: warning: instance method '-isImage' not found (return type defaults to 'id') [-Wobjc-method-access] 923 | if (onlyImages && ![thePart isImage]) { | ^~~~~~~ SOGoDraftObject.m:928:37: warning: 'NSString' may not respond to 'stringValue' 928 | bodyId = [[thePart contentId] stringValue]; | ~~~~~~~~~~~~~~~~~~~ ^ SOGoDraftObject.m:1083:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] 1083 | oldReferences = [sourceMail references]; | ^ SOGoDraftObject.m:1081:3: note: previous statement is here 1081 | if ([msgID length] > 0) | ^ SOGoDraftObject.m:1999:17: warning: incompatible pointer types assigning to 'NGMimeMessageGenerator *' from 'NGMimePartGenerator *' [-Wincompatible-pointer-types] 1999 | partGenerator = [[[NGMimePartGenerator alloc] init] autorelease]; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSObject.h:202:1: note: instance method 'autorelease' is assumed to return an instance of its receiver type ('NGMimePartGenerator *') 202 | - (id) autorelease NS_AUTOMATED_REFCOUNT_UNAVAILABLE; | ^ SOGoDraftObject.m:2251:7: warning: local declaration of 'path' hides instance variable [-Wshadow-ivar] 2251 | path = [body path]; | ^ SOGoDraftObject.m:2252:11: warning: local declaration of 'path' hides instance variable [-Wshadow-ivar] 2252 | if (path) { | ^ SOGoDraftObject.m:2253:30: warning: local declaration of 'path' hides instance variable [-Wshadow-ivar] 2253 | [tmpFiles addObject: path]; | ^ SOGoDraftObject.m:2266:8: warning: local declaration of 'path' hides instance variable [-Wshadow-ivar] 2266 | for (path in tmpFiles) { | ^ SOGoDraftObject.m:2267:31: warning: local declaration of 'path' hides instance variable [-Wshadow-ivar] 2267 | if ([fm fileExistsAtPath: path]) | ^ SOGoDraftObject.m:2268:29: warning: local declaration of 'path' hides instance variable [-Wshadow-ivar] 2268 | [fm removeFileAtPath: path handler: nil]; | ^ 12 warnings generated. Compiling file SOGoMailBaseObject.m ... SOGoMailBaseObject.m:374:2: warning: we could improve this by simply testing if the reference is the filename of an attachment or if the body part mentionned actually exists in the list of body parts. Another way is to use a prefix such as "attachment-*" to declare attachments. [-W#warnings] 374 | #warning we could improve this by simply testing if the reference is the filename of an attachment or if the body part mentionned actually exists in the list of body parts. Another way is to use a prefix such as "attachment-*" to declare attachments. | ^ 1 warning generated. Compiling file SOGoMailAccounts.m ... Compiling file SOGoMailAccount.m ... SOGoMailAccount.m:460:24: warning: unused variable 'folderTypeDict' [-Wunused-variable] 460 | static NSDictionary *folderTypeDict = nil; | ^~~~~~~~~~~~~~ 1 warning generated. Compiling file SOGoMailFolder.m ... SOGoMailFolder.m:709:2: warning: this code will fail on implementation using something else than '/' as delimiter [-W#warnings] 709 | #warning this code will fail on implementation using something else than '/' as delimiter | ^ SOGoMailFolder.m:908:2: warning: SOPE is just plain stupid here - if you change the case of keys, it will break the encoding of fields [-W#warnings] 908 | #warning SOPE is just plain stupid here - if you change the case of keys, it will break the encoding of fields | ^ SOGoMailFolder.m:1712:2: warning: this method should be checked [-W#warnings] 1712 | #warning this method should be checked | ^ SOGoMailFolder.m:230:34: warning: 'NSArray' may not respond to 'length' 230 | for (index = 0 ; index < [uids length] ; index++) { | ~~~~ ^ SOGoMailFolder.m:233:52: warning: incompatible function pointer types sending 'NSInteger (id, id, NSDictionary *)' (aka 'long (id, id, NSDictionary *)') to parameter of type 'NSComparisonResult (*)(id, id, void *)' (aka 'enum NSComparisonResult (*)(id, id, void *)') [-Wincompatible-function-pointer-types] 233 | result = [fetchResults sortedArrayUsingFunction: _compareFetchResultsByUID | ^~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSArray.h:147:44: note: passing argument to parameter 'comparator' here 147 | (NSComparisonResult (*)(id, id, void*))comparator | ^ SOGoMailFolder.m:378:15: warning: receiver type 'void *' is not 'id' or interface pointer, consider casting it to 'id' [-Wreceiver-expr] 378 | ASSIGN (imap4URL, nil); | ^~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/GNUstepBase/GNUstep.h:182:33: note: expanded from macro 'ASSIGN' 182 | object = (__typeof__(object))[(value) retain]; \ | ^~~~~~~ SOGoMailFolder.m:600:17: warning: variable 'from' set but not used [-Wunused-but-set-variable] 600 | NSString *from; | ^ SOGoMailFolder.m:2229:56: warning: format specifies type 'int' but the argument has type 'uint64_t' (aka 'unsigned long') [-Wformat] 2229 | tag = [NSString stringWithFormat: @"%d-%d", uid, modseq]; | ~~ ^~~~~~ | %lu 8 warnings generated. Compiling file SOGoMailLabel.m ... Compiling file SOGoMailNamespace.m ... Compiling file SOGoMailObject.m ... SOGoMailObject.m:510:2: warning: we ignore the charset here? [-W#warnings] 510 | #warning we ignore the charset here? | ^ SOGoMailObject.m:892:2: warning: we might need to handle parts with a "name" attribute [-W#warnings] 892 | #warning we might need to handle parts with a "name" attribute | ^ SOGoMailObject.m:966:2: warning: duplicated code from [SOGoMailFolder archiveUIDs] [-W#warnings] 966 | #warning duplicated code from [SOGoMailFolder archiveUIDs] | ^ SOGoMailObject.m:1754:2: warning: We should send the content as an NSData [-W#warnings] 1754 | #warning We should send the content as an NSData | ^ 4 warnings generated. Compiling file SOGoMailObject+Draft.m ... Compiling file SOGoSentFolder.m ... Compiling file SOGoDraftsFolder.m ... Compiling file SOGoTrashFolder.m ... Compiling file SOGoJunkFolder.m ... Compiling file SOGoTemplatesFolder.m ... Compiling file SOGoMailBodyPart.m ... SOGoMailBodyPart.m:120:2: warning: partToPart should be populated directly [-W#warnings] 120 | #warning partToPart should be populated directly | ^ 1 warning generated. Compiling file SOGoHTMLMailBodyPart.m ... Compiling file SOGoImageMailBodyPart.m ... Compiling file SOGoMessageMailBodyPart.m ... Compiling file SOGoCalendarMailBodyPart.m ... Compiling file SOGoTNEFMailBodyPart.m ... SOGoTNEFMailBodyPart.m:763:131: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 763 | partName = [[NSString alloc] initWithData: [NSData dataWithBytes: attachmentName->data length: strlen(attachmentName->data)] encoding:NSISOLatin1StringEncoding]; | ^~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here 61 | size_t strlen(const char *); | ^ SOGoTNEFMailBodyPart.m:851:46: warning: 'NSDictionary' may not respond to 'filename' 851 | [self setFilename: [[newPart bodyInfo] filename]]; | ~~~~~~~~~~~~~~~~~~ ^ 2 warnings generated. Compiling file SOGoVCardMailBodyPart.m ... Compiling file SOGoMailForward.m ... Compiling file SOGoMailReply.m ... SOGoMailReply.m:92:30: warning: instance method '-userDefaults' not found (return type defaults to 'id') [-Wobjc-method-access] 92 | ud = [[context activeUser] userDefaults]; | ^~~~~~~~~~~~ 1 warning generated. Compiling file EOQualifier+MailDAV.m ... Compiling file NSData+Mail.m ... Compiling file NSData+SMIME.m ... Compiling file NSDictionary+Mail.m ... Compiling file NSString+Mail.m ... Compiling file SOGoUser+Mailer.m ... gcc -shared \ -L/usr/pkg/lib -L/usr/pkg/share/GNUstep/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/pkg/share/GNUstep/lib -Wl,-zrelro -L/usr/lib -Wl,-R/usr/lib -pthread -fexceptions -rdynamic -o Mailer.SOGo/./Mailer \ ./obj/Mailer.obj/Product.m.o ./obj/Mailer.obj/SOGoMailManager.m.o ./obj/Mailer.obj/SOGoDraftObject.m.o ./obj/Mailer.obj/SOGoMailBaseObject.m.o ./obj/Mailer.obj/SOGoMailAccounts.m.o ./obj/Mailer.obj/SOGoMailAccount.m.o ./obj/Mailer.obj/SOGoMailFolder.m.o ./obj/Mailer.obj/SOGoMailLabel.m.o ./obj/Mailer.obj/SOGoMailNamespace.m.o ./obj/Mailer.obj/SOGoMailObject.m.o ./obj/Mailer.obj/SOGoMailObject+Draft.m.o ./obj/Mailer.obj/SOGoSentFolder.m.o ./obj/Mailer.obj/SOGoDraftsFolder.m.o ./obj/Mailer.obj/SOGoTrashFolder.m.o ./obj/Mailer.obj/SOGoJunkFolder.m.o ./obj/Mailer.obj/SOGoTemplatesFolder.m.o ./obj/Mailer.obj/SOGoMailBodyPart.m.o ./obj/Mailer.obj/SOGoHTMLMailBodyPart.m.o ./obj/Mailer.obj/SOGoImageMailBodyPart.m.o ./obj/Mailer.obj/SOGoMessageMailBodyPart.m.o ./obj/Mailer.obj/SOGoCalendarMailBodyPart.m.o ./obj/Mailer.obj/SOGoTNEFMailBodyPart.m.o ./obj/Mailer.obj/SOGoVCardMailBodyPart.m.o ./obj/Mailer.obj/SOGoMailForward.m.o ./obj/Mailer.obj/SOGoMailReply.m.o ./obj/Mailer.obj/EOQualifier+MailDAV.m.o ./obj/Mailer.obj/NSData+Mail.m.o ./obj/Mailer.obj/NSData+SMIME.m.o ./obj/Mailer.obj/NSDictionary+Mail.m.o ./obj/Mailer.obj/NSString+Mail.m.o ./obj/Mailer.obj/SOGoUser+Mailer.m.o \ -L../SOGo/SOGo.framework/Versions/Current/sogo/ -lSOGo -L../../SOGo/./obj/ -L../../SOPE/NGCards/./obj/ -lNGCards -L../../SOPE/GDLContentStore/./obj/ -lGDLContentStore -L/usr/local/lib -Wl,-rpath,/usr/pkg/lib/sogo -L/pbulk/work/www/SOGo5/work/.home/GNUstep/Library/Libraries -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lNGObjWeb -lNGMime -lNGStreams -lNGExtensions -lGDLAccess -lNGObjWeb -lNGMime -lNGLdap -lNGStreams -lNGExtensions -lEOControl -lDOM -lSaxObjC -lSBJson -lcrypto -lgnustep-base -lpthread -lm Linking resources into the bundle wrapper... Linking localized resources into the bundle wrapper... Making all in Main ... Making all for tool sogod... Compiling file sogod.m ... Compiling file SOGo.m ... SOGo.m:65:2: warning: might be useful to have a SOGoObject-derived proxy class for handling requests and avoid duplicating methods [-W#warnings] 65 | #warning might be useful to have a SOGoObject-derived proxy class for \ | ^ SOGo.m:160:2: warning: the following methods should be replaced with helpers in GCSSpecialQueries [-W#warnings] 160 | #warning the following methods should be replaced with helpers in GCSSpecialQueries | ^ SOGo.m:371:11: warning: unused variable 'decodedLogin' [-Wunused-variable] 371 | NSData *decodedLogin; | ^~~~~~~~~~~~ 3 warnings generated. Compiling file SOGo+DAV.m ... SOGo+DAV.m:127:2: warning: all REPORT method should be standardized... [-W#warnings] 127 | #warning all REPORT method should be standardized... | ^ SOGo+DAV.m:332:2: warning: this is a bit ugly, as usual [-W#warnings] 332 | #warning this is a bit ugly, as usual | ^ SOGo+DAV.m:467:5: warning: evil eVIL EVIl! [-W#warnings] 467 | #warning evil eVIL EVIl! | ^ 3 warnings generated. Linking tool sogod ... Making all in UI ... Making all in SOGoUI ... Making all for library libSOGoUI... Compiling file UIxComponent.m ... Compiling file SOGoAptFormatter.m ... Compiling file SOGoACLAdvisory.m ... SOGoACLAdvisory.m:101:2: warning: the url returned by SOGoMail may be empty, we need to handle that [-W#warnings] 101 | #warning the url returned by SOGoMail may be empty, we need to handle that | ^ SOGoACLAdvisory.m:116:2: warning: the url returned by SOGoMail may be empty, we need to handle that [-W#warnings] 116 | #warning the url returned by SOGoMail may be empty, we need to handle that | ^ SOGoACLAdvisory.m:219:2: warning: SOPE is just plain stupid here - if you change the case of keys, it will break the encoding of fields [-W#warnings] 219 | #warning SOPE is just plain stupid here - if you change the case of keys, it will break the encoding of fields | ^ 3 warnings generated. Compiling file SOGoFolderAdvisory.m ... SOGoFolderAdvisory.m:92:2: warning: the url returned by SOGoMail may be empty, we need to handle that [-W#warnings] 92 | #warning the url returned by SOGoMail may be empty, we need to handle that | ^ SOGoFolderAdvisory.m:189:2: warning: SOPE is just plain stupid here - if you change the case of keys, it will break the encoding of fields [-W#warnings] 189 | #warning SOPE is just plain stupid here - if you change the case of keys, it will break the encoding of fields | ^ 2 warnings generated. Compiling file SOGoDirectAction.m ... Linking library libSOGoUI ... /usr/bin/ld: warning: libNGCards.so.4.9.0, needed by ./../../SoObjects/SOGo/SOGo.framework/sogo//libSOGo.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libGDLContentStore.so.4.9.0, needed by ./../../SoObjects/SOGo/SOGo.framework/sogo//libSOGo.so, not found (try using -rpath or -rpath-link) Making all in SOGoElements ... Making all for bundle SOGoElements... Creating SOGoElements.wox/.... Compiling file SOGoElementsBundle.m ... Compiling file SOGoElementsBuilder.m ... Compiling file SOGoIEConditional.m ... Linking bundle SOGoElements ... Creating SOGoElements.wox/Resources... Creating stamp file... Creating SOGoElements.wox/Resources/Info-gnustep.plist... Making all in Common ... Making all for bundle CommonUI... Creating CommonUI.SOGo/.... Compiling file CommonUIProduct.m ... Compiling file UIxPageFrame.m ... Compiling file UIxAclEditor.m ... UIxAclEditor.m:170:20: warning: incompatible pointer types assigning to 'NSMutableDictionary *' from 'NSDictionary *' [-Wincompatible-pointer-types] 170 | userData = [NSDictionary dictionaryWithObjectsAndKeys: | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | defaultUserID, @"uid", | ~~~~~~~~~~~~~~~~~~~~~~ 172 | [self labelForKey: @"Any Authenticated User"], @"cn", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 173 | @"public-user", @"userClass", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 174 | nil]; | ~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSDictionary.h:56:1: note: class method 'dictionaryWithObjectsAndKeys:' is assumed to return an instance of its receiver type ('NSDictionary *') 56 | + (instancetype) dictionaryWithObjectsAndKeys: (id)firstObject, ...; | ^ UIxAclEditor.m:181:20: warning: incompatible pointer types assigning to 'NSMutableDictionary *' from 'NSDictionary *' [-Wincompatible-pointer-types] 181 | userData = [NSDictionary dictionaryWithObjectsAndKeys: | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 182 | @"anonymous", @"uid", | ~~~~~~~~~~~~~~~~~~~~~ 183 | [self labelForKey: @"Public Access"], @"cn", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 184 | @"public-user", @"userClass", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 185 | nil]; | ~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSDictionary.h:56:1: note: class method 'dictionaryWithObjectsAndKeys:' is assumed to return an instance of its receiver type ('NSDictionary *') 56 | + (instancetype) dictionaryWithObjectsAndKeys: (id)firstObject, ...; | ^ 2 warnings generated. Compiling file UIxObjectActions.m ... Compiling file UIxFolderActions.m ... UIxFolderActions.m:111:16: warning: incompatible pointer types assigning to 'NSMutableDictionary *' from 'NSDictionary *' [-Wincompatible-pointer-types] 111 | acls = [NSDictionary dictionaryWithObjectsAndKeys: [NSNumber numberWithBool: objectCreator], @"objectCreator", | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | [NSNumber numberWithBool: objectEditor], @"objectEditor", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 113 | [NSNumber numberWithBool: objectEraser], @"objectEraser", nil]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSDictionary.h:56:1: note: class method 'dictionaryWithObjectsAndKeys:' is assumed to return an instance of its receiver type ('NSDictionary *') 56 | + (instancetype) dictionaryWithObjectsAndKeys: (id)firstObject, ...; | ^ 1 warning generated. Compiling file UIxParentFolderActions.m ... Compiling file UIxUserRightsEditor.m ... UIxUserRightsEditor.m:175:2: warning: Duplicated code from _initRights [-W#warnings] 175 | #warning Duplicated code from _initRights | ^ 1 warning generated. Compiling file UIxTopnavToolbar.m ... Compiling file UIxToolbar.m ... UIxToolbar.m:141:11: warning: incompatible pointer types assigning to 'NSDictionary *' from 'NSArray *' [-Wincompatible-pointer-types] 141 | if ((tb = [NSArray arrayWithContentsOfFile:path]) == nil) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSArray.h:65:1: note: class method 'arrayWithContentsOfFile:' is assumed to return an instance of its receiver type ('NSArray *') 65 | + (instancetype) arrayWithContentsOfFile: (NSString*)file; | ^ 1 warning generated. Linking bundle CommonUI ... /usr/bin/ld: warning: libNGCards.so.4.9.0, needed by ./../../SoObjects/SOGo/SOGo.framework/sogo//libSOGo.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libGDLContentStore.so.4.9.0, needed by ./../../SoObjects/SOGo/SOGo.framework/sogo//libSOGo.so, not found (try using -rpath or -rpath-link) Creating CommonUI.SOGo/Resources... Copying resources into the bundle wrapper... Copying localized resources into the bundle wrapper... Creating stamp file... Creating CommonUI.SOGo/Resources/Info-gnustep.plist... Making all in Contacts ... Making all for bundle ContactsUI... Creating ContactsUI.SOGo/.... Compiling file UIxContactsUserFolders.m ... Compiling file UIxContactsUserRightsEditor.m ... Compiling file ContactsUIProduct.m ... Compiling file UIxContactActions.m ... Compiling file UIxContactView.m ... UIxContactView.m:412:24: warning: incompatible pointer types assigning to 'NSMutableDictionary *' from 'NSDictionary *' [-Wincompatible-pointer-types] 412 | userData = [NSDictionary dictionaryWithObjectsAndKeys: | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 413 | [user loginInDomain], @"c_uid", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 414 | [user cn], @"c_cn", | ~~~~~~~~~~~~~~~~~~~ 415 | allUserEmails, @"emails", nil]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSDictionary.h:56:1: note: class method 'dictionaryWithObjectsAndKeys:' is assumed to return an instance of its receiver type ('NSDictionary *') 56 | + (instancetype) dictionaryWithObjectsAndKeys: (id)firstObject, ...; | ^ 1 warning generated. Compiling file UIxContactEditor.m ... UIxContactEditor.m:90:26: warning: instance method '-queryParameterForKey:' not found (return type defaults to 'id') [-Wobjc-method-access] 90 | queryValue = [self queryParameterForKey: @"contactEmail"]; | ^~~~~~~~~~~~~~~~~~~~ ./UIxContactEditor.h:33:12: note: receiver is instance of class declared here 33 | @interface UIxContactEditor : SOGoDirectAction | ^ UIxContactEditor.m:93:26: warning: instance method '-queryParameterForKey:' not found (return type defaults to 'id') [-Wobjc-method-access] 93 | queryValue = [self queryParameterForKey: @"contactFN"]; | ^~~~~~~~~~~~~~~~~~~~ ./UIxContactEditor.h:33:12: note: receiver is instance of class declared here 33 | @interface UIxContactEditor : SOGoDirectAction | ^ UIxContactEditor.m:549:14: warning: incompatible pointer types assigning to 'EOKeyValueQualifier *' from 'EOAndQualifier *' [-Wincompatible-pointer-types] 549 | qualifier = [[EOAndQualifier alloc] initWithQualifierArray: qualifiers]; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/EOControl/EOQualifier.h:114:1: note: instance method 'initWithQualifierArray:' is assumed to return an instance of its receiver type ('EOAndQualifier *') 114 | - (id)initWithQualifierArray:(NSArray *)_qualifiers; | ^ 3 warnings generated. Compiling file UIxListView.m ... UIxListView.m:53:43: warning: instance method '-privateContacts:inContext:' not found (return type defaults to 'id') [-Wobjc-method-access] 53 | folders = [[[co lookupUserFolder] privateContacts: @"Contacts" inContext: nil] subFolders]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../SoObjects/SOGo/SOGoObject.h:57:8: note: receiver is instance of class declared here 57 | @class SOGoUserFolder; | ^ UIxListView.m:53:88: warning: instance method '-subFolders' not found (return type defaults to 'id') [-Wobjc-method-access] 53 | folders = [[[co lookupUserFolder] privateContacts: @"Contacts" inContext: nil] subFolders]; | ^~~~~~~~~~ UIxListView.m:58:28: warning: instance method '-lookupName:inContext:acquire:' not found (return type defaults to 'id') [-Wobjc-method-access] 58 | test = [folder lookupName: [card reference] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 59 | inContext: context | ~~~~~~~~~~~~~~~~~~ 60 | acquire: NO]; | ~~~~~~~ 3 warnings generated. Compiling file UIxListEditor.m ... UIxListEditor.m:208:37: warning: instance method '-privateContacts:inContext:' not found (return type defaults to 'id') [-Wobjc-method-access] 208 | folders = [[[co lookupUserFolder] privateContacts: @"Contacts" inContext: nil] subFolders]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../SoObjects/SOGo/SOGoObject.h:57:8: note: receiver is instance of class declared here 57 | @class SOGoUserFolder; | ^ UIxListEditor.m:208:82: warning: instance method '-subFolders' not found (return type defaults to 'id') [-Wobjc-method-access] 208 | folders = [[[co lookupUserFolder] privateContacts: @"Contacts" inContext: nil] subFolders]; | ^~~~~~~~~~ 2 warnings generated. Compiling file UIxContactsListActions.m ... UIxContactsListActions.m:176:52: warning: instance method '-subFolders' not found (return type defaults to 'id') [-Wobjc-method-access] 176 | folders = [[[self clientObject] container] subFolders]; | ^~~~~~~~~~ UIxContactsListActions.m:229:42: warning: instance method '-nameInContainer' not found (return type defaults to 'id') [-Wobjc-method-access] 229 | [tmpDict setObject:[sourceFolder nameInContainer] forKey:@"sourceid"]; | ^~~~~~~~~~~~~~~ UIxContactsListActions.m:235:17: warning: incompatible pointer types assigning to 'NSMutableArray *' from 'NSArray *' [-Wincompatible-pointer-types] 235 | results = [results arrayByAddingObjectsFromArray: globalAddressBookResults]; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ UIxContactsListActions.m:243:15: warning: incompatible pointer types assigning to 'NSMutableArray *' from 'NSArray *' [-Wincompatible-pointer-types] 243 | results = [results sortedArrayUsingDescriptors: [NSArray arrayWithObjects: descriptor, nil]]; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. Compiling file UIxContactFoldersView.m ... UIxContactFoldersView.m:342:12: warning: incompatible pointer types assigning to 'NSMutableDictionary *' from 'NSDictionary *' [-Wincompatible-pointer-types] 342 | acls = [NSDictionary dictionaryWithObjectsAndKeys: [NSNumber numberWithBool: objectCreator], @"objectCreator", | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 343 | [NSNumber numberWithBool: objectEditor], @"objectEditor", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 344 | [NSNumber numberWithBool: objectEraser], @"objectEraser", nil]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSDictionary.h:56:1: note: class method 'dictionaryWithObjectsAndKeys:' is assumed to return an instance of its receiver type ('NSDictionary *') 56 | + (instancetype) dictionaryWithObjectsAndKeys: (id)firstObject, ...; | ^ UIxContactFoldersView.m:368:37: warning: protocol has no object type specified; defaults to qualified 'id' 368 | [(<SOGoSource>)currentFolder searchFields], @"searchFields", | ^~~~~~~~~~~~ | id 2 warnings generated. Compiling file UIxContactFolderActions.m ... UIxContactFolderActions.m:496:19: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 496 | disposition = [NSString stringWithString: @"attachment; filename=\"contacts.mobileconfig\""]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Compiling file UIxContactFolderLinksTemplate.m ... Compiling file UIxContactFolderProperties.m ... Linking bundle ContactsUI ... /usr/bin/ld: warning: libNGCards.so.4.9.0, needed by ./../../SoObjects/SOGo/SOGo.framework/sogo//libSOGo.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libGDLContentStore.so.4.9.0, needed by ./../../SoObjects/SOGo/SOGo.framework/sogo//libSOGo.so, not found (try using -rpath or -rpath-link) Creating ContactsUI.SOGo/Resources... Copying resources into the bundle wrapper... Copying localized resources into the bundle wrapper... Creating stamp file... Creating ContactsUI.SOGo/Resources/Info-gnustep.plist... Making all in MailPartViewers ... Making all for bundle MailPartViewers... Creating MailPartViewers.SOGo/.... Compiling file MailPartViewersProduct.m ... Compiling file UIxMailRenderingContext.m ... Compiling file UIxMailSizeFormatter.m ... Compiling file UIxMailPartViewer.m ... UIxMailPartViewer.m:206:15: warning: instance method '-getException' not found (return type defaults to 'id') [-Wobjc-method-access] 206 | e = [self getException]; | ^~~~~~~~~~~~ ./UIxMailPartViewer.h:53:12: note: receiver is instance of class declared here 53 | @interface UIxMailPartViewer : UIxComponent | ^ UIxMailPartViewer.m:219:25: warning: receiver 'NSNumber' is a forward class and corresponding @interface may not exist [-Wreceiver-forward-class] 219 | [NSNumber numberWithBool:_shouldDisplayAttachment], @"shouldDisplayAttachment", | ^~~~~~~~ ./UIxMailPartViewer.h:49:8: note: forward declaration of class here 49 | @class NSNumber; | ^ UIxMailPartViewer.m:219:34: warning: class method '+numberWithBool:' not found (return type defaults to 'id') [-Wobjc-method-access] 219 | [NSNumber numberWithBool:_shouldDisplayAttachment], @"shouldDisplayAttachment", | ^~~~~~~~~~~~~~ UIxMailPartViewer.m:399:84: warning: 'NSString' may not respond to 'filename' 399 | attachment = [[[self decodedFlatContent] headerForKey: @"content-disposition"] filename]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ 4 warnings generated. Compiling file UIxMailPartTextViewer.m ... Compiling file UIxMailPartHTMLViewer.m ... UIxMailPartHTMLViewer.m:910:77: warning: instance method '-reason' not found (return type defaults to 'id') [-Wobjc-method-access] 910 | ex = [NSException exceptionWithName:[_exception name] reason: [_exception reason] userInfo: [_exception userInfo]]; | ^~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/SaxObjC/SaxErrorHandler.h:25:8: note: receiver is instance of class declared here 25 | @class SaxParseException; | ^ UIxMailPartHTMLViewer.m:910:107: warning: instance method '-userInfo' not found (return type defaults to 'id') [-Wobjc-method-access] 910 | ex = [NSException exceptionWithName:[_exception name] reason: [_exception reason] userInfo: [_exception userInfo]]; | ^~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/SaxObjC/SaxErrorHandler.h:25:8: note: receiver is instance of class declared here 25 | @class SaxParseException; | ^ UIxMailPartHTMLViewer.m:910:9: warning: receiver 'NSException' is a forward class and corresponding @interface may not exist [-Wreceiver-forward-class] 910 | ex = [NSException exceptionWithName:[_exception name] reason: [_exception reason] userInfo: [_exception userInfo]]; | ^~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSRange.h:36:8: note: forward declaration of class here 36 | @class NSException; | ^ UIxMailPartHTMLViewer.m:910:21: warning: class method '+exceptionWithName:reason:userInfo:' not found (return type defaults to 'id') [-Wobjc-method-access] 910 | ex = [NSException exceptionWithName:[_exception name] reason: [_exception reason] userInfo: [_exception userInfo]]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ UIxMailPartHTMLViewer.m:1040:28: warning: sending 'UIxMailPartExternalHTMLViewer *' to parameter of incompatible type 'id<NSObject,SaxErrorHandler>' 1040 | [parser setErrorHandler: self]; | ^~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/SaxObjC/SaxXMLReader.h:69:55: note: passing argument to parameter '_handler' here 69 | - (void)setErrorHandler:(id<NSObject,SaxErrorHandler>)_handler; | ^ UIxMailPartHTMLViewer.m:1061:77: warning: instance method '-reason' not found (return type defaults to 'id') [-Wobjc-method-access] 1061 | ex = [NSException exceptionWithName:[_exception name] reason: [_exception reason] userInfo: [_exception userInfo]]; | ^~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/SaxObjC/SaxErrorHandler.h:25:8: note: receiver is instance of class declared here 25 | @class SaxParseException; | ^ UIxMailPartHTMLViewer.m:1061:107: warning: instance method '-userInfo' not found (return type defaults to 'id') [-Wobjc-method-access] 1061 | ex = [NSException exceptionWithName:[_exception name] reason: [_exception reason] userInfo: [_exception userInfo]]; | ^~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/SaxObjC/SaxErrorHandler.h:25:8: note: receiver is instance of class declared here 25 | @class SaxParseException; | ^ UIxMailPartHTMLViewer.m:1061:9: warning: receiver 'NSException' is a forward class and corresponding @interface may not exist [-Wreceiver-forward-class] 1061 | ex = [NSException exceptionWithName:[_exception name] reason: [_exception reason] userInfo: [_exception userInfo]]; | ^~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSRange.h:36:8: note: forward declaration of class here 36 | @class NSException; | ^ UIxMailPartHTMLViewer.m:1061:21: warning: class method '+exceptionWithName:reason:userInfo:' not found (return type defaults to 'id') [-Wobjc-method-access] 1061 | ex = [NSException exceptionWithName:[_exception name] reason: [_exception reason] userInfo: [_exception userInfo]]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ UIxMailPartHTMLViewer.m:1054:1: warning: conflicting return type in implementation of 'error:': 'id' vs 'void' [-Wmismatched-return-types] 1054 | - (void)error:(SaxParseException *)_exception | ^ ~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSObject.h:505:1: note: previous definition is here 505 | - (id) error:(const char *)aString, ...; | ^ ~~ UIxMailPartHTMLViewer.m:1054:36: warning: conflicting parameter types in implementation of 'error:': 'const char *' vs 'SaxParseException *' [-Wmismatched-parameter-types] 1054 | - (void)error:(SaxParseException *)_exception | ~~~~~~~~~~~~~~~~~~~ ^ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSObject.h:505:28: note: previous definition is here 505 | - (id) error:(const char *)aString, ...; | ~~~~~~ ^ UIxMailPartHTMLViewer.m:1054:1: warning: conflicting variadic declaration of method and its implementation 1054 | - (void)error:(SaxParseException *)_exception | ^ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSObject.h:505:1: note: previous declaration is here 505 | - (id) error:(const char *)aString, ...; | ^ 12 warnings generated. Compiling file UIxMailPartImageViewer.m ... Compiling file UIxMailPartLinkViewer.m ... Compiling file UIxMailPartMixedViewer.m ... UIxMailPartMixedViewer.m:131:41: warning: instance method '-userDefaults' not found (return type defaults to 'id') [-Wobjc-method-access] 131 | ud = [[[self context] activeUser] userDefaults]; | ^~~~~~~~~~~~ UIxMailPartMixedViewer.m:146:123: warning: receiver 'SOGoImageMailBodyPart' is a forward class and corresponding @interface may not exist [-Wreceiver-forward-class] 146 | && [SOGoMailBodyPart bodyPartClassForMimeType: [contentType lowercaseString] inContext: [self context]] == [SOGoImageMailBodyPart class]); | ^~~~~~~~~~~~~~~~~~~~~ UIxMailPartMixedViewer.m:39:8: note: forward declaration of class here 39 | @class SOGoImageMailBodyPart; | ^ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSObject.h:330:1: note: method 'class' is used for the forward class 330 | + (Class) class; | ^ 2 warnings generated. Compiling file UIxMailPartEncryptedViewer.m ... UIxMailPartEncryptedViewer.m:203:11: warning: 'ERR_load_ERR_strings' is deprecated [-Wdeprecated-declarations] 203 | ERR_load_ERR_strings(); | ^ /usr/include/openssl/cryptoerr_legacy.h:57:1: note: 'ERR_load_ERR_strings' has been explicitly marked deprecated here 57 | OSSL_DEPRECATEDIN_3_0 int ERR_load_ERR_strings(void); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ UIxMailPartEncryptedViewer.m:338:16: warning: instance method '-childInfo' not found (return type defaults to 'id') [-Wobjc-method-access] 338 | info = [self childInfo]; | ^~~~~~~~~ ./UIxMailPartEncryptedViewer.h:29:12: note: receiver is instance of class declared here 29 | @interface UIxMailPartEncryptedViewer : UIxMailPartViewer | ^ UIxMailPartEncryptedViewer.m:348:37: warning: instance method '-mailObject' not found (return type defaults to 'id') [-Wobjc-method-access] 348 | mailObject = [[self clientObject] mailObject]; | ^~~~~~~~~~ UIxMailPartEncryptedViewer.m:434:11: warning: variable 'message' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 434 | if (extractedData) | ^~~~~~~~~~~~~ UIxMailPartEncryptedViewer.m:442:15: note: uninitialized use occurs here 442 | part = [message retain]; | ^~~~~~~ UIxMailPartEncryptedViewer.m:434:7: note: remove the 'if' if its condition is always true 434 | if (extractedData) | ^~~~~~~~~~~~~~~~~~ 435 | { UIxMailPartEncryptedViewer.m:426:29: note: initialize the variable 'message' to silence this warning 426 | NGMimeMessage *message; | ^ | = nil 4 warnings generated. Compiling file UIxMailPartSignedViewer.m ... UIxMailPartSignedViewer.m:204:11: warning: 'ERR_load_ERR_strings' is deprecated [-Wdeprecated-declarations] 204 | ERR_load_ERR_strings(); | ^ /usr/include/openssl/cryptoerr_legacy.h:57:1: note: 'ERR_load_ERR_strings' has been explicitly marked deprecated here 57 | OSSL_DEPRECATEDIN_3_0 int ERR_load_ERR_strings(void); | ^ /usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0' 182 | # define OSSL_DEPRECATEDIN_3_0 OSSL_DEPRECATED(3.0) | ^ /usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED' 62 | # define OSSL_DEPRECATED(since) __attribute__((deprecated)) | ^ 1 warning generated. Compiling file UIxMailPartAlternativeViewer.m ... UIxMailPartAlternativeViewer.m:243:35: warning: 'NSMutableArray' may not respond to 'length' 243 | for (i = 0 ; i < [renderedParts length] ; i++) { | ~~~~~~~~~~~~~ ^ UIxMailPartAlternativeViewer.m:200:29: warning: unused variable 'htmlNoTags' [-Wunused-variable] 200 | NSString *preferredType, *htmlNoTags; | ^~~~~~~~~~ 2 warnings generated. Compiling file UIxMailPartMessageViewer.m ... Compiling file UIxMailPartICalViewer.m ... Compiling file UIxMailPartTNEFViewer.m ... UIxMailPartTNEFViewer.m:102:111: warning: format specifies type 'int' but the argument has type 'NSInteger' (aka 'long') [-Wformat] 102 | partPath: [NSString stringWithFormat: @"%@/%d/", [tnefPart bodyPartIdentifier], i+1]]; | ~~ ^~~ | %ld 1 warning generated. Compiling file UIxMailPartICalActions.m ... UIxMailPartICalActions.m:121:2: warning: this will not work if Bob reads emails of Alice and accepts events for her [-W#warnings] 121 | #warning this will not work if Bob reads emails of Alice and accepts events for her | ^ 1 warning generated. Linking bundle MailPartViewers ... /usr/bin/ld: warning: libNGCards.so.4.9.0, needed by ./../../SoObjects/SOGo/SOGo.framework/sogo//libSOGo.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libGDLContentStore.so.4.9.0, needed by ./../../SoObjects/SOGo/SOGo.framework/sogo//libSOGo.so, not found (try using -rpath or -rpath-link) Creating MailPartViewers.SOGo/Resources... Copying resources into the bundle wrapper... Copying localized resources into the bundle wrapper... Creating stamp file... Creating MailPartViewers.SOGo/Resources/Info-gnustep.plist... Making all in MailerUI ... Making all for bundle MailerUI... Creating MailerUI.SOGo/.... Compiling file MailerUIProduct.m ... Compiling file UIxMailFormatter.m ... UIxMailFormatter.m:64:41: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 64 | self->dfFlags.showOnlyTimeForToday = 1; | ^ ~ UIxMailFormatter.m:65:41: warning: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion] 65 | self->dfFlags.showLabelsForNearDays = 1; | ^ ~ 2 warnings generated. Compiling file UIxEnvelopeAddressFormatter.m ... Compiling file WOContext+UIxMailer.m ... Compiling file UIxMailMainFrame.m ... Compiling file UIxMailListActions.m ... UIxMailListActions.m:343:128: warning: receiver 'SOGoImageMailBodyPart' is a forward class and corresponding @interface may not exist [-Wreceiver-forward-class] 343 | isImage = [SOGoMailBodyPart bodyPartClassForMimeType: [contentType lowercaseString] inContext: [self context]] == [SOGoImageMailBodyPart class]; | ^~~~~~~~~~~~~~~~~~~~~ UIxMailListActions.m:72:8: note: forward declaration of class here 72 | @class SOGoImageMailBodyPart; | ^ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSObject.h:330:1: note: method 'class' is used for the forward class 330 | + (Class) class; | ^ UIxMailListActions.m:348:89: warning: 'NSArray' may not respond to 'length' 348 | && [[[currentPart objectForKey:@"disposition"] allKeys] length] > 0) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ UIxMailListActions.m:707:7: warning: variable 'i' set but not used [-Wunused-but-set-variable] 707 | int i; | ^ UIxMailListActions.m:844:19: warning: unused variable 'tmpHeaders' [-Wunused-variable] 844 | NSMutableArray *tmpHeaders, *tmpUids; | ^~~~~~~~~~ UIxMailListActions.m:844:32: warning: unused variable 'tmpUids' [-Wunused-variable] 844 | NSMutableArray *tmpHeaders, *tmpUids; | ^~~~~~~ UIxMailListActions.m:845:13: warning: unused variable 'uid' [-Wunused-variable] 845 | NSNumber *uid; | ^~~ UIxMailListActions.m:850:14: warning: unused variable 'i' [-Wunused-variable] 850 | int count, i, j; | ^ UIxMailListActions.m:850:17: warning: unused variable 'j' [-Wunused-variable] 850 | int count, i, j; | ^ 8 warnings generated. Compiling file UIxMailView.m ... UIxMailView.m:342:12: warning: incompatible pointer types assigning to 'NSMutableDictionary *' from 'NSDictionary *' [-Wincompatible-pointer-types] 342 | data = [NSDictionary dictionaryWithObject: [self labelForKey: @"Did not find specified message"] | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 343 | forKey: @"message"]; | ~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSDictionary.h:49:1: note: class method 'dictionaryWithObject:forKey:' is assumed to return an instance of its receiver type ('NSDictionary *') 49 | + (instancetype) dictionaryWithObject: (GS_GENERIC_TYPE(ValT))object | ^ UIxMailView.m:353:13: warning: instance method '-activateRawContent' not found (return type defaults to 'id') [-Wobjc-method-access] 353 | [viewer activateRawContent]; | ^~~~~~~~~~~~~~~~~~ 2 warnings generated. Compiling file UIxMailSourceView.m ... Compiling file UIxMailPopupView.m ... Compiling file UIxMailMoveToPopUp.m ... Compiling file UIxMailAccountActions.m ... Compiling file UIxMailFolderActions.m ... UIxMailFolderActions.m:149:15: warning: incompatible pointer types assigning to 'NSMutableDictionary *' from 'NSDictionary *' [-Wincompatible-pointer-types] 149 | message = [NSDictionary dictionaryWithObject: [self labelForKey: @"Missing name parameter" inContext: context] | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | forKey: @"message"]; | ~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSDictionary.h:49:1: note: class method 'dictionaryWithObject:forKey:' is assumed to return an instance of its receiver type ('NSDictionary *') 49 | + (instancetype) dictionaryWithObject: (GS_GENERIC_TYPE(ValT))object | ^ UIxMailFolderActions.m:159:19: warning: incompatible pointer types assigning to 'NSMutableDictionary *' from 'NSDictionary *' [-Wincompatible-pointer-types] 159 | message = [NSDictionary dictionaryWithObject: [self labelForKey: @"Unable to rename folder." inContext: context] | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 160 | forKey: @"message"]; | ~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSDictionary.h:49:1: note: class method 'dictionaryWithObject:forKey:' is assumed to return an instance of its receiver type ('NSDictionary *') 49 | + (instancetype) dictionaryWithObject: (GS_GENERIC_TYPE(ValT))object | ^ UIxMailFolderActions.m:184:19: warning: incompatible pointer types assigning to 'NSMutableDictionary *' from 'NSDictionary *' [-Wincompatible-pointer-types] 184 | message = [NSDictionary dictionaryWithObjectsAndKeys: | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 185 | newFolderPath, @"path", sievePath, @"sievePath", nil]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSDictionary.h:56:1: note: class method 'dictionaryWithObjectsAndKeys:' is assumed to return an instance of its receiver type ('NSDictionary *') 56 | + (instancetype) dictionaryWithObjectsAndKeys: (id)firstObject, ...; | ^ UIxMailFolderActions.m:232:15: warning: incompatible pointer types assigning to 'NSMutableDictionary *' from 'NSDictionary *' [-Wincompatible-pointer-types] 232 | message = [NSDictionary dictionaryWithObject: [self labelForKey: @"Missing parent parameter" inContext: context] | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | forKey: @"message"]; | ~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSDictionary.h:49:1: note: class method 'dictionaryWithObject:forKey:' is assumed to return an instance of its receiver type ('NSDictionary *') 49 | + (instancetype) dictionaryWithObject: (GS_GENERIC_TYPE(ValT))object | ^ UIxMailFolderActions.m:244:19: warning: incompatible pointer types assigning to 'NSMutableDictionary *' from 'NSDictionary *' [-Wincompatible-pointer-types] 244 | message = [NSDictionary dictionaryWithObject: [self labelForKey: @"Unable to move folder." inContext: context] | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | forKey: @"message"]; | ~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSDictionary.h:49:1: note: class method 'dictionaryWithObject:forKey:' is assumed to return an instance of its receiver type ('NSDictionary *') 49 | + (instancetype) dictionaryWithObject: (GS_GENERIC_TYPE(ValT))object | ^ UIxMailFolderActions.m:287:19: warning: incompatible pointer types assigning to 'NSMutableDictionary *' from 'NSDictionary *' [-Wincompatible-pointer-types] 287 | message = [NSDictionary dictionaryWithObjectsAndKeys: | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | newFolderPath, @"path", sievePath, @"sievePath", nil]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSDictionary.h:56:1: note: class method 'dictionaryWithObjectsAndKeys:' is assumed to return an instance of its receiver type ('NSDictionary *') 56 | + (instancetype) dictionaryWithObjectsAndKeys: (id)firstObject, ...; | ^ UIxMailFolderActions.m:541:12: warning: incompatible pointer types assigning to 'NSMutableDictionary *' from 'NSDictionary *' [-Wincompatible-pointer-types] 541 | data = [NSDictionary dictionaryWithObject: [self labelForKey: @"Missing 'uids' parameter." inContext: context] | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 542 | forKey: @"message"]; | ~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSDictionary.h:49:1: note: class method 'dictionaryWithObject:forKey:' is assumed to return an instance of its receiver type ('NSDictionary *') 49 | + (instancetype) dictionaryWithObject: (GS_GENERIC_TYPE(ValT))object | ^ 7 warnings generated. Compiling file UIxMailFolderSubscriptions.m ... Compiling file UIxMailActions.m ... Compiling file UIxMailEditor.m ... UIxMailEditor.m:947:10: warning: returning 'id<WOActionResults>' from a function with incompatible result type 'WOResponse *' 947 | return response; | ^~~~~~~~ 1 warning generated. Compiling file UIxMailWindowCloser.m ... Compiling file UIxMailUserRightsEditor.m ... Compiling file UIxMailUserDelegationEditor.m ... Linking bundle MailerUI ... /usr/bin/ld: warning: libNGCards.so.4.9.0, needed by ./../../SoObjects/SOGo/SOGo.framework/sogo//libSOGo.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libGDLContentStore.so.4.9.0, needed by ./../../SoObjects/SOGo/SOGo.framework/sogo//libSOGo.so, not found (try using -rpath or -rpath-link) Creating MailerUI.SOGo/Resources... Copying resources into the bundle wrapper... Copying localized resources into the bundle wrapper... Creating stamp file... Creating MailerUI.SOGo/Resources/Info-gnustep.plist... Making all in MainUI ... Making all for bundle MainUI... Creating MainUI.SOGo/.... Compiling file MainUIProduct.m ... Compiling file SOGoRootPage.m ... SOGoRootPage.m:737:30: warning: comparison of distinct pointer types ('NSString *' and 'NSNull *') [-Wcompare-distinct-pointer-types] 737 | if ((!password || password == [NSNull null]) && token) { | ~~~~~~~~ ^ ~~~~~~~~~~~~~ SOGoRootPage.m:873:14: warning: assigning to 'WOResponse *' from incompatible type 'id<WOActionResults>' 873 | response = [self _standardDefaultAction]; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SOGoRootPage.m:891:9: warning: local declaration of 'userDefaults' hides instance variable [-Wshadow-ivar] 891 | userDefaults = [SOGoUserDefaults defaultsForUser: uid | ^ SOGoRootPage.m:893:20: warning: local declaration of 'userDefaults' hides instance variable [-Wshadow-ivar] 893 | toEmail = [userDefaults passwordRecoverySecondaryEmail]; | ^ SOGoRootPage.m:874:14: warning: variable 'response' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 874 | } else if ([mode isEqualToString: SOGoPasswordRecoverySecondaryEmail]) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SOGoRootPage.m:939:10: note: uninitialized use occurs here 939 | return response; | ^~~~~~~~ SOGoRootPage.m:874:10: note: remove the 'if' if its condition is always true 874 | } else if ([mode isEqualToString: SOGoPasswordRecoverySecondaryEmail]) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ SOGoRootPage.m:855:23: note: initialize the variable 'response' to silence this warning 855 | WOResponse *response; | ^ | = nil SOGoRootPage.m:1005:35: warning: comparison of distinct pointer types ('NSString *' and 'NSNull *') [-Wcompare-distinct-pointer-types] 1005 | if (nil != domain && domain != [NSNull null]) { | ~~~~~~ ^ ~~~~~~~~~~~~~ SOGoRootPage.m:1024:40: warning: comparison of distinct pointer types ('NSNull *' and 'NSString *') [-Wcompare-distinct-pointer-types] 1024 | } else if (username && [NSNull null] != username && | ~~~~~~~~~~~~~ ^ ~~~~~~~~ SOGoRootPage.m:1029:40: warning: comparison of distinct pointer types ('NSNull *' and 'NSString *') [-Wcompare-distinct-pointer-types] 1029 | } else if (username && [NSNull null] != username && !passwordRecoveryDomains) { | ~~~~~~~~~~~~~ ^ ~~~~~~~~ 8 warnings generated. Compiling file SOGoUserHomePage.m ... Compiling file SOGoBrowsersPanel.m ... Compiling file SOGoMicrosoftActiveSyncActions.m ... Linking bundle MainUI ... /usr/bin/ld: warning: libNGCards.so.4.9.0, needed by ./../../SoObjects/SOGo/SOGo.framework/sogo//libSOGo.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libGDLContentStore.so.4.9.0, needed by ./../../SoObjects/SOGo/SOGo.framework/sogo//libSOGo.so, not found (try using -rpath or -rpath-link) Creating MainUI.SOGo/Resources... Copying resources into the bundle wrapper... Copying localized resources into the bundle wrapper... Creating stamp file... Creating MainUI.SOGo/Resources/Info-gnustep.plist... Making all in PreferencesUI ... Making all for bundle PreferencesUI... Creating PreferencesUI.SOGo/.... Compiling file PreferencesUIProduct.m ... Compiling file UIxJSONPreferences.m ... UIxJSONPreferences.m:411:61: warning: incompatible pointer to integer conversion sending 'BOOL *' (aka 'unsigned char *') to parameter of type 'BOOL' (aka 'unsigned char'); dereference with * [-Wint-conversion] 411 | [[defaults source] setObject: [NSNumber numberWithBool: [defaults mailDisplayFullEmail]] forKey: @"SOGoMailDisplayFullEmail"]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | * /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSValue.h:198:37: note: passing argument to parameter 'value' here 198 | + (NSNumber*) numberWithBool: (BOOL)value; | ^ UIxJSONPreferences.m:497:32: warning: unused variable 'accountPassword' [-Wunused-variable] 497 | NSDictionary *security, *accountPassword; | ^~~~~~~~~~~~~~~ UIxJSONPreferences.m:499:17: warning: unused variable 'password' [-Wunused-variable] 499 | NSString *password, *encryptedPassword, *sogoSecret, *iv, *tag; | ^~~~~~~~ UIxJSONPreferences.m:499:28: warning: unused variable 'encryptedPassword' [-Wunused-variable] 499 | NSString *password, *encryptedPassword, *sogoSecret, *iv, *tag; | ^~~~~~~~~~~~~~~~~ UIxJSONPreferences.m:499:48: warning: unused variable 'sogoSecret' [-Wunused-variable] 499 | NSString *password, *encryptedPassword, *sogoSecret, *iv, *tag; | ^~~~~~~~~~ UIxJSONPreferences.m:499:61: warning: unused variable 'iv' [-Wunused-variable] 499 | NSString *password, *encryptedPassword, *sogoSecret, *iv, *tag; | ^~ UIxJSONPreferences.m:499:66: warning: unused variable 'tag' [-Wunused-variable] 499 | NSString *password, *encryptedPassword, *sogoSecret, *iv, *tag; | ^~~ UIxJSONPreferences.m:500:20: warning: unused variable 'exception' [-Wunused-variable] 500 | NSException* exception = nil; | ^~~~~~~~~ 8 warnings generated. Compiling file UIxPreferences.m ... UIxPreferences.m:116:2: warning: user should be the owner rather than the activeUser [-W#warnings] 116 | #warning user should be the owner rather than the activeUser | ^ UIxPreferences.m:284:24: warning: incompatible pointer types assigning to 'NSDictionary *' from 'NSArray *' [-Wincompatible-pointer-types] 284 | translatedUserPolicy = [SOGoPasswordPolicy createPasswordPolicyLabels: [userSource userPasswordPolicy] | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | withTranslations: translations]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ UIxPreferences.m:288:10: warning: incompatible pointer types returning 'NSDictionary *' from a function with result type 'NSArray *' [-Wincompatible-pointer-types] 288 | return translatedUserPolicy; | ^~~~~~~~~~~~~~~~~~~~ UIxPreferences.m:444:11: warning: incompatible pointer types assigning to 'NSMutableArray *' from 'NSArray *' [-Wincompatible-pointer-types] 444 | options = [NSArray arrayWithObjects: @"selected", @"personal", @"first", nil]; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSArray.h:70:1: note: class method 'arrayWithObjects:' is assumed to return an instance of its receiver type ('NSArray *') 70 | + (instancetype) arrayWithObjects: (id)firstObject, ...; | ^ UIxPreferences.m:965:29: warning: incompatible pointer types assigning to 'NSMutableArray *' from 'NSArray *' [-Wincompatible-pointer-types] 965 | defaultCategoriesLabels = [localizedLabels allValues]; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ UIxPreferences.m:1556:37: warning: instance method '-encryptAES256GCM:exception:' not found (return type defaults to 'id') [-Wobjc-method-access] 1556 | newPassword = [password encryptAES256GCM: sogoSecret exception:&exception]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSString.h:517:12: note: receiver is instance of class declared here 517 | @interface NSString :NSObject <NSCoding, NSCopying, NSMutableCopying> | ^ UIxPreferences.m:1620:56: warning: instance method '-decryptAES256GCM:iv:tag:exception:' not found (return type defaults to 'id') [-Wobjc-method-access] 1620 | decryptedPassword = [encryptedPassword decryptAES256GCM: sogoSecret iv: iv tag: tag exception:&exception]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSString.h:517:12: note: receiver is instance of class declared here 517 | @interface NSString :NSObject <NSCoding, NSCopying, NSMutableCopying> | ^ UIxPreferences.m:1704:23: warning: instance method '-push:' not found (return type defaults to 'id') [-Wobjc-method-access] 1704 | [allUserDomains push: [userMail mailDomain]]; | ^~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSArray.h:308:29: note: receiver is instance of class declared here 308 | @interface GS_GENERIC_CLASS(NSMutableArray, ElementT) : GS_GENERIC_CLASS(NSArray, ElementT) | ^ UIxPreferences.m:1873:28: warning: returning 'WOResponse *' from a function with incompatible result type 'id<WOActionResults>' 1873 | return [self responseWithStatus: 403 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1874 | andString: @"Invalid operation"]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../SoObjects/SOGo/SOGoParentFolder.h:30:8: note: conformance of forward class 'WOResponse' to protocol 'WOActionResults' can not be confirmed 30 | @class WOResponse; | ^ 9 warnings generated. Compiling file UIxAccountEditor.m ... Compiling file UIxFilterEditor.m ... Compiling file UIxAdditionalPreferences.m ... Linking bundle PreferencesUI ... /usr/bin/ld: warning: libNGCards.so.4.9.0, needed by ./../../SoObjects/SOGo/SOGo.framework/sogo//libSOGo.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libGDLContentStore.so.4.9.0, needed by ./../../SoObjects/SOGo/SOGo.framework/sogo//libSOGo.so, not found (try using -rpath or -rpath-link) Creating PreferencesUI.SOGo/Resources... Copying resources into the bundle wrapper... Copying localized resources into the bundle wrapper... Creating stamp file... Creating PreferencesUI.SOGo/Resources/Info-gnustep.plist... Making all in Scheduler ... Making all for bundle SchedulerUI... Creating SchedulerUI.SOGo/.... Compiling file SchedulerUIProduct.m ... Compiling file NSArray+Scheduler.m ... Compiling file NSDictionary+Scheduler.m ... Compiling file UIxCalMainView.m ... Compiling file UIxCalendarProperties.m ... Compiling file UIxCalendarFolderLinksTemplate.m ... Compiling file UIxCalDayTable.m ... UIxCalDayTable.m:312:47: warning: format specifies type 'int' but the argument has type 'NSInteger' (aka 'long') [-Wformat] 312 | return [NSString stringWithFormat: @"%i", [currentTableDay yearOfCommonEra]]; | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | %li 1 warning generated. Compiling file UIxCalUserRightsEditor.m ... Compiling file UIxCalFolderActions.m ... Compiling file UIxCalView.m ... UIxCalView.m:676:19: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 676 | disposition = [NSString stringWithString: @"attachment; filename=\"calendar.mobileconfig\""]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Compiling file UIxCalDayView.m ... Compiling file UIxCalMulticolumnDayView.m ... Compiling file UIxCalWeekView.m ... Compiling file UIxCalMonthView.m ... Compiling file UIxCalListingActions.m ... UIxCalListingActions.m:673:12: warning: taking the absolute value of unsigned type 'NSUInteger' (aka 'unsigned long') has no effect [-Wabsolute-value] 673 | else if (abs(delta = [date dayOfCommonEra] - [now dayOfCommonEra]) < 7) | ^ UIxCalListingActions.m:673:12: note: remove the call to 'abs' since unsigned values cannot be negative 673 | else if (abs(delta = [date dayOfCommonEra] - [now dayOfCommonEra]) < 7) | ^~~ 1 warning generated. Compiling file UIxCalMainActions.m ... UIxCalMainActions.m:93:20: warning: incompatible pointer types assigning to 'NSMutableDictionary *' from 'NSDictionary *' [-Wincompatible-pointer-types] 93 | jsonResponse = [NSDictionary dictionaryWithObjectsAndKeys: | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 94 | @"failure", @"status", | ~~~~~~~~~~~~~~~~~~~~~~ 95 | [ex reason], @"message", | ~~~~~~~~~~~~~~~~~~~~~~~~ 96 | nil]; | ~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSDictionary.h:56:1: note: class method 'dictionaryWithObjectsAndKeys:' is assumed to return an instance of its receiver type ('NSDictionary *') 56 | + (instancetype) dictionaryWithObjectsAndKeys: (id)firstObject, ...; | ^ 1 warning generated. Compiling file UIxAttendeesEditor.m ... Compiling file UIxComponentEditor.m ... Compiling file UIxCalendarSelector.m ... UIxCalendarSelector.m:207:16: warning: incompatible pointer types assigning to 'NSMutableDictionary *' from 'NSDictionary *' [-Wincompatible-pointer-types] 207 | acls = [NSDictionary dictionaryWithObjectsAndKeys: [NSNumber numberWithBool: objectCreator], @"objectCreator", | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 208 | [NSNumber numberWithBool: objectEraser], @"objectEraser", nil]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSDictionary.h:56:1: note: class method 'dictionaryWithObjectsAndKeys:' is assumed to return an instance of its receiver type ('NSDictionary *') 56 | + (instancetype) dictionaryWithObjectsAndKeys: (id)firstObject, ...; | ^ 1 warning generated. Compiling file UIxAppointmentActions.m ... UIxAppointmentActions.m:90:35: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] 90 | newDuration = (((float) abs ([end timeIntervalSinceDate: start]) | ^ UIxAppointmentActions.m:90:35: note: use function 'fabs' instead 90 | newDuration = (((float) abs ([end timeIntervalSinceDate: start]) | ^~~ | fabs 1 warning generated. Compiling file UIxAppointmentEditor.m ... UIxAppointmentEditor.m:638:20: warning: incompatible pointer types assigning to 'NSString *' from 'NSDictionary *' [-Wincompatible-pointer-types] 638 | jsonResponse = [NSDictionary dictionaryWithObjectsAndKeys: | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 639 | error, @"message", nil]; | ~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSDictionary.h:56:1: note: class method 'dictionaryWithObjectsAndKeys:' is assumed to return an instance of its receiver type ('NSDictionary *') 56 | + (instancetype) dictionaryWithObjectsAndKeys: (id)firstObject, ...; | ^ UIxAppointmentEditor.m:644:20: warning: incompatible pointer types assigning to 'NSString *' from 'NSDictionary *' [-Wincompatible-pointer-types] 644 | jsonResponse = [NSDictionary dictionaryWithObjectsAndKeys: | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 645 | @"success", @"status", nil]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSDictionary.h:56:1: note: class method 'dictionaryWithObjectsAndKeys:' is assumed to return an instance of its receiver type ('NSDictionary *') 56 | + (instancetype) dictionaryWithObjectsAndKeys: (id)firstObject, ...; | ^ 2 warnings generated. Compiling file UIxTaskEditor.m ... UIxTaskEditor.m:396:20: warning: incompatible pointer types assigning to 'NSString *' from 'NSDictionary *' [-Wincompatible-pointer-types] 396 | jsonResponse = [NSDictionary dictionaryWithObjectsAndKeys: | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 397 | @"failure", @"status", | ~~~~~~~~~~~~~~~~~~~~~~ 398 | [ex reason], @"message", | ~~~~~~~~~~~~~~~~~~~~~~~~ 399 | nil]; | ~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSDictionary.h:56:1: note: class method 'dictionaryWithObjectsAndKeys:' is assumed to return an instance of its receiver type ('NSDictionary *') 56 | + (instancetype) dictionaryWithObjectsAndKeys: (id)firstObject, ...; | ^ UIxTaskEditor.m:404:20: warning: incompatible pointer types assigning to 'NSString *' from 'NSDictionary *' [-Wincompatible-pointer-types] 404 | jsonResponse = [NSDictionary dictionaryWithObjectsAndKeys: | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 405 | @"success", @"status", nil]; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSDictionary.h:56:1: note: class method 'dictionaryWithObjectsAndKeys:' is assumed to return an instance of its receiver type ('NSDictionary *') 56 | + (instancetype) dictionaryWithObjectsAndKeys: (id)firstObject, ...; | ^ 2 warnings generated. Compiling file UIxRecurrenceEditor.m ... Compiling file UIxRecurrenceListEditor.m ... Compiling file UIxReminderEditor.m ... Compiling file UIxOccurenceEditor.m ... Linking bundle SchedulerUI ... /usr/bin/ld: warning: libNGCards.so.4.9.0, needed by ./../../SoObjects/SOGo/SOGo.framework/sogo//libSOGo.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libGDLContentStore.so.4.9.0, needed by ./../../SoObjects/SOGo/SOGo.framework/sogo//libSOGo.so, not found (try using -rpath or -rpath-link) Creating SchedulerUI.SOGo/Resources... Copying resources into the bundle wrapper... Copying localized resources into the bundle wrapper... Creating stamp file... Creating SchedulerUI.SOGo/Resources/Info-gnustep.plist... Making all in AdministrationUI ... Making all for bundle AdministrationUI... Creating AdministrationUI.SOGo/.... Compiling file AdministrationUIProduct.m ... Compiling file UIxAdministration.m ... Compiling file UIxAdministrationAclEditor.m ... UIxAdministrationAclEditor.m:140:20: warning: incompatible pointer types assigning to 'NSMutableDictionary *' from 'NSDictionary *' [-Wincompatible-pointer-types] 140 | userData = [NSDictionary dictionaryWithObjectsAndKeys: | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 141 | @"<default>", @"uid", | ~~~~~~~~~~~~~~~~~~~~~ 142 | [self labelForKey: @"Any Authenticated User"], @"cn", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 143 | @"public-user", @"userClass", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 144 | nil]; | ~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSDictionary.h:56:1: note: class method 'dictionaryWithObjectsAndKeys:' is assumed to return an instance of its receiver type ('NSDictionary *') 56 | + (instancetype) dictionaryWithObjectsAndKeys: (id)firstObject, ...; | ^ UIxAdministrationAclEditor.m:151:20: warning: incompatible pointer types assigning to 'NSMutableDictionary *' from 'NSDictionary *' [-Wincompatible-pointer-types] 151 | userData = [NSDictionary dictionaryWithObjectsAndKeys: | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 152 | @"anonymous", @"uid", | ~~~~~~~~~~~~~~~~~~~~~ 153 | [self labelForKey: @"Public Access"], @"cn", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 154 | @"public-user", @"userClass", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 155 | nil]; | ~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSDictionary.h:56:1: note: class method 'dictionaryWithObjectsAndKeys:' is assumed to return an instance of its receiver type ('NSDictionary *') 56 | + (instancetype) dictionaryWithObjectsAndKeys: (id)firstObject, ...; | ^ 2 warnings generated. Compiling file UIxAdministrationFilterPanel.m ... UIxAdministrationFilterPanel.m:39:2: warning: how useful is this? [-W#warnings] 39 | #warning how useful is this? | ^ 1 warning generated. Compiling file UIxAdministrationMotd.m ... UIxAdministrationMotd.m:78:51: warning: instance method '-objectFromJSONString' not found (return type defaults to 'id') [-Wobjc-method-access] 78 | data = [[[context request] contentAsString] objectFromJSONString]; | ^~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSString.h:517:12: note: receiver is instance of class declared here 517 | @interface NSString :NSObject <NSCoding, NSCopying, NSMutableCopying> | ^ UIxAdministrationMotd.m:65:14: warning: unused variable 'request' [-Wunused-variable] 65 | WORequest *request; | ^~~~~~~ 2 warnings generated. Linking bundle AdministrationUI ... /usr/bin/ld: warning: libNGCards.so.4.9.0, needed by ./../../SoObjects/SOGo/SOGo.framework/sogo//libSOGo.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libGDLContentStore.so.4.9.0, needed by ./../../SoObjects/SOGo/SOGo.framework/sogo//libSOGo.so, not found (try using -rpath or -rpath-link) Creating AdministrationUI.SOGo/Resources... Copying resources into the bundle wrapper... Copying localized resources into the bundle wrapper... Creating stamp file... Creating AdministrationUI.SOGo/Resources/Info-gnustep.plist... Making all in Templates ... Template files validated Making all in WebServerResources ... The 'all' target does nothing. Use 'make dev' to generate static files and 'make install' to install them. Making all in Tools ... Making all for tool sogo-tool... Compiling file sogo-tool.m ... Compiling file SOGoTool.m ... Compiling file SOGoToolBackup.m ... Compiling file SOGoToolDumpDefaults.m ... Compiling file SOGoToolUpdateAutoReply.m ... SOGoToolUpdateAutoReply.m:176:84: warning: format specifies type 'int' but the argument has type 'NSInteger' (aka 'long') [-Wformat] 176 | if ([weekdays containsObject: [NSString stringWithFormat: @"%i", [now dayOfWeek]]]) | ~~ ^~~~~~~~~~~~~~~ | %li 1 warning generated. Compiling file SOGoToolExpireUserSessions.m ... Compiling file SOGoToolRemove.m ... Compiling file SOGoToolRemoveDoubles.m ... Compiling file SOGoToolRenameUser.m ... Compiling file SOGoToolCheckupUser.m ... Compiling file SOGoToolCleanupUser.m ... Compiling file SOGoToolRestore.m ... Compiling file SOGoToolCreateFolder.m ... Compiling file SOGoToolUserPreferences.m ... SOGoToolUserPreferences.m:225:51: warning: instance method '-decryptAES256GCM:iv:tag:exception:' not found (return type defaults to 'id') [-Wobjc-method-access] 225 | newPassword = [password decryptAES256GCM: sogoSecret iv: iv tag: tag exception:&exception]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSString.h:517:12: note: receiver is instance of class declared here 517 | @interface NSString :NSObject <NSCoding, NSCopying, NSMutableCopying> | ^ SOGoToolUserPreferences.m:229:38: warning: 'NSDictionary' may not respond to 'setObject:forKey:' 229 | [account setObject: newPassword forKey: @"password"]; | ~~~~~~~ ^ SOGoToolUserPreferences.m:337:47: warning: instance method '-encryptAES256GCM:exception:' not found (return type defaults to 'id') [-Wobjc-method-access] 337 | newPassword = [password encryptAES256GCM: sogoSecret exception:&exception]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSString.h:517:12: note: receiver is instance of class declared here 517 | @interface NSString :NSObject <NSCoding, NSCopying, NSMutableCopying> | ^ SOGoToolUserPreferences.m:341:34: warning: 'NSDictionary' may not respond to 'setObject:forKey:' 341 | [account setObject: newPassword forKey: @"password"]; | ~~~~~~~ ^ SOGoToolUserPreferences.m:315:43: warning: unused variable 'newPassword' [-Wunused-variable] 315 | NSDictionary *account, *newPassword; | ^~~~~~~~~~~ 5 warnings generated. Compiling file SOGoToolManageACL.m ... Compiling file SOGoToolManageEAS.m ... SOGoToolManageEAS.m:285:95: warning: incomplete format specifier [-Wformat] 285 | sql = [NSMutableString stringWithFormat: @"DELETE FROM %@ WHERE c_path like '/%@%'", [oc tableName], deviceId]; | ^~ 1 warning generated. Compiling file SOGoToolTruncateCalendar.m ... Compiling file SOGoToolUpdateSecret.m ... SOGoToolUpdateSecret.m:132:37: warning: instance method '-gcsTableName' not found (return type defaults to 'id') [-Wobjc-method-access] 132 | [userProfileUrl gcsTableName]]; | ^~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSURL.h:71:12: note: receiver is instance of class declared here 71 | @interface NSURL: NSObject <NSCoding, NSCopying, NSURLHandleClient> | ^ SOGoToolUpdateSecret.m:97:22: warning: unused variable 'pool' [-Wunused-variable] 97 | NSAutoreleasePool *pool; | ^~~~ SOGoToolUpdateSecret.m:98:20: warning: variable 'lm' set but not used [-Wunused-but-set-variable] 98 | SOGoUserManager *lm; | ^ SOGoToolUpdateSecret.m:102:6: warning: unused variable 'allUsers' [-Wunused-variable] 102 | id allUsers; | ^~~~~~~~ SOGoToolUpdateSecret.m:103:7: warning: unused variable 'count' [-Wunused-variable] 103 | int count, max; | ^~~~~ SOGoToolUpdateSecret.m:103:14: warning: variable 'max' set but not used [-Wunused-but-set-variable] 103 | int count, max; | ^ SOGoToolUpdateSecret.m:193:35: warning: instance method '-encryptAES256GCM:exception:' not found (return type defaults to 'id') [-Wobjc-method-access] 193 | newPassword = [password encryptAES256GCM: secret exception:&exception]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSString.h:517:12: note: receiver is instance of class declared here 517 | @interface NSString :NSObject <NSCoding, NSCopying, NSMutableCopying> | ^ SOGoToolUpdateSecret.m:197:22: warning: 'NSDictionary' may not respond to 'setObject:forKey:' 197 | [account setObject: newPassword forKey: @"password"]; | ~~~~~~~ ^ SOGoToolUpdateSecret.m:250:43: warning: instance method '-decryptAES256GCM:iv:tag:exception:' not found (return type defaults to 'id') [-Wobjc-method-access] 250 | decryptedPassword = [password decryptAES256GCM: oldSecret iv: iv tag: tag exception:&exception]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSString.h:517:12: note: receiver is instance of class declared here 517 | @interface NSString :NSObject <NSCoding, NSCopying, NSMutableCopying> | ^ SOGoToolUpdateSecret.m:251:52: warning: instance method '-encryptAES256GCM:exception:' not found (return type defaults to 'id') [-Wobjc-method-access] 251 | encryptedPassword = [decryptedPassword encryptAES256GCM: newSecret exception:&exception]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSString.h:517:12: note: receiver is instance of class declared here 517 | @interface NSString :NSObject <NSCoding, NSCopying, NSMutableCopying> | ^ SOGoToolUpdateSecret.m:260:22: warning: 'NSDictionary' may not respond to 'setObject:forKey:' 260 | [account setObject: encryptedPassword forKey: @"password"]; | ~~~~~~~ ^ SOGoToolUpdateSecret.m:312:37: warning: instance method '-decryptAES256GCM:iv:tag:exception:' not found (return type defaults to 'id') [-Wobjc-method-access] 312 | newPassword = [password decryptAES256GCM: oldSecret iv: iv tag: tag exception:&exception]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/Foundation/NSString.h:517:12: note: receiver is instance of class declared here 517 | @interface NSString :NSObject <NSCoding, NSCopying, NSMutableCopying> | ^ SOGoToolUpdateSecret.m:316:24: warning: 'NSDictionary' may not respond to 'setObject:forKey:' 316 | [account setObject: newPassword forKey: @"password"]; | ~~~~~~~ ^ SOGoToolUpdateSecret.m:390:12: warning: unused variable 'i' [-Wunused-variable] 390 | int max, i; | ^ 14 warnings generated. Linking tool sogo-tool ... Making all for tool sogo-slapd-sockd... Compiling file sogo-slapd-sockd.m ... Compiling file SOGoSockD.m ... Compiling file SOGoSockDScanner.m ... Compiling file SOGoSockDOperation.m ... Linking tool sogo-slapd-sockd ... Making all for tool sogo-ealarms-notify... Compiling file sogo-ealarms-notify.m ... Compiling file SOGoEAlarmsNotifier.m ... SOGoEAlarmsNotifier.m:176:32: warning: instance method '-initWithName:' not found (return type defaults to 'id') [-Wobjc-method-access] 176 | app = [[WOApplication alloc] initWithName: @"SOGo"]; | ^~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/NGObjWeb/WOApplication.h:37:12: note: receiver is instance of class declared here 37 | @interface WOApplication : WOCoreApplication | ^ SOGoEAlarmsNotifier.m:181:8: warning: instance method '-_setCurrentContext:' not found (return type defaults to 'id') [-Wobjc-method-access] 181 | [app _setCurrentContext:localContext]; | ^~~~~~~~~~~~~~~~~~ /pbulk/work/www/SOGo5/work/.buildlink/include/NGObjWeb/WOApplication.h:37:12: note: receiver is instance of class declared here 37 | @interface WOApplication : WOCoreApplication | ^ 2 warnings generated. Linking tool sogo-ealarms-notify ... Making all in Tests/Unit ... Making all for test_tool sogo-tests... Compiling file sogo-tests.m ... sogo-tests.m:92:16: warning: variable 'outFormat' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 92 | else if ([format isEqualToString: @"junit"]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sogo-tests.m:98:10: note: uninitialized use occurs here 98 | return outFormat; | ^~~~~~~~~ sogo-tests.m:92:12: note: remove the 'if' if its condition is always true 92 | else if ([format isEqualToString: @"junit"]) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 93 | outFormat = SOGoTestJUnitOutputFormat; sogo-tests.m:42:3: note: variable 'outFormat' is declared here 42 | SOGoTestOutputFormat outFormat; | ^ 1 warning generated. Compiling file SOGoTest.m ... Compiling file SOGoTestRunner.m ... SOGoTestRunner.m:76:7: warning: variable 'rc' set but not used [-Wunused-but-set-variable] 76 | int rc; | ^ 1 warning generated. Compiling file SaxXMLReaderFactory+SOGoTests.m ... Compiling file TestVersit.m ... Compiling file TestiCalTimeZonePeriod.m ... Compiling file TestiCalRecurrenceCalculator.m ... Compiling file TestSBJsonParser.m ... TestSBJsonParser.m:78:3: warning: receiver type 'void *' is not 'id' or interface pointer, consider casting it to 'id' [-Wreceiver-expr] 78 | testEquals (result, nil); | ^~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:73:28: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | && [(b) isKindOfClass: [NSNumber class]] \ | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ 1 warning generated. Compiling file TestNGMimeAddressHeaderFieldGenerator.m ... Compiling file TestNGMimeHeaderFieldGenerator.m ... Compiling file TestNGMimeMessageGenerator.m ... Compiling file TestNGMimeType.m ... Compiling file TestNGNetUtlilities.m ... Compiling file TestNSData+Crypto.m ... Compiling file TestNSString+Crypto.m ... Compiling file TestNSString+URLEscaping.m ... Compiling file TestNSString+Utilities.m ... TestNSString+Utilities.m:90:29: warning: format specifies type 'int' but the argument has type 'NSInteger' (aka 'long') [-Wformat] 89 | error = [NSString stringWithFormat: @"result %@ != expected %d", | ~~ | %ld 90 | result, expected]; | ^~~~~~~~ TestNSString+Utilities.m:96:3: warning: direct comparison of a string literal has undefined behavior [-Wobjc-string-compare] 96 | testEquals(result, @"kill me"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:25: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | && [(b) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:96:3: note: use 'isEqual:' instead ./SOGoTest.h:71:25: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ TestNSString+Utilities.m:102:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 102 | testEquals([[NSString stringWithString:@"<a href=\"\">foo</a>bar"] stringWithoutHTMLInjection: YES], @" foo bar"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:22: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:102:3: warning: direct comparison of a string literal has undefined behavior [-Wobjc-string-compare] 102 | testEquals([[NSString stringWithString:@"<a href=\"\">foo</a>bar"] stringWithoutHTMLInjection: YES], @" foo bar"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:25: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | && [(b) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:102:3: note: use 'isEqual:' instead ./SOGoTest.h:71:25: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ TestNSString+Utilities.m:102:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 102 | testEquals([[NSString stringWithString:@"<a href=\"\">foo</a>bar"] stringWithoutHTMLInjection: YES], @" foo bar"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:39: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:102:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 102 | testEquals([[NSString stringWithString:@"<a href=\"\">foo</a>bar"] stringWithoutHTMLInjection: YES], @" foo bar"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:72:26: note: expanded from macro 'testEquals' 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:102:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 102 | testEquals([[NSString stringWithString:@"<a href=\"\">foo</a>bar"] stringWithoutHTMLInjection: YES], @" foo bar"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:74:42: note: expanded from macro 'testEquals' 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:102:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 102 | testEquals([[NSString stringWithString:@"<a href=\"\">foo</a>bar"] stringWithoutHTMLInjection: YES], @" foo bar"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:75:83: note: expanded from macro 'testEquals' 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ^ ./SOGoTest.h:64:31: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:103:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 103 | testEquals([[NSString stringWithString:@"fb <foo@bar.com>"] stringWithoutHTMLInjection: YES], @"fb <foo@bar.com>"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:22: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:103:3: warning: direct comparison of a string literal has undefined behavior [-Wobjc-string-compare] 103 | testEquals([[NSString stringWithString:@"fb <foo@bar.com>"] stringWithoutHTMLInjection: YES], @"fb <foo@bar.com>"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:25: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | && [(b) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:103:3: note: use 'isEqual:' instead ./SOGoTest.h:71:25: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ TestNSString+Utilities.m:103:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 103 | testEquals([[NSString stringWithString:@"fb <foo@bar.com>"] stringWithoutHTMLInjection: YES], @"fb <foo@bar.com>"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:39: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:103:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 103 | testEquals([[NSString stringWithString:@"fb <foo@bar.com>"] stringWithoutHTMLInjection: YES], @"fb <foo@bar.com>"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:72:26: note: expanded from macro 'testEquals' 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:103:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 103 | testEquals([[NSString stringWithString:@"fb <foo@bar.com>"] stringWithoutHTMLInjection: YES], @"fb <foo@bar.com>"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:74:42: note: expanded from macro 'testEquals' 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:103:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 103 | testEquals([[NSString stringWithString:@"fb <foo@bar.com>"] stringWithoutHTMLInjection: YES], @"fb <foo@bar.com>"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:75:83: note: expanded from macro 'testEquals' 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ^ ./SOGoTest.h:64:31: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:104:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 104 | testEquals([[NSString stringWithString:@"Test\n<script>alert(\"foobar\");"] stringWithoutHTMLInjection: NO], @"Test\n<scr***>alert(\"foobar\");"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:22: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:104:3: warning: direct comparison of a string literal has undefined behavior [-Wobjc-string-compare] 104 | testEquals([[NSString stringWithString:@"Test\n<script>alert(\"foobar\");"] stringWithoutHTMLInjection: NO], @"Test\n<scr***>alert(\"foobar\");"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:25: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | && [(b) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:104:3: note: use 'isEqual:' instead ./SOGoTest.h:71:25: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ TestNSString+Utilities.m:104:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 104 | testEquals([[NSString stringWithString:@"Test\n<script>alert(\"foobar\");"] stringWithoutHTMLInjection: NO], @"Test\n<scr***>alert(\"foobar\");"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:39: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:104:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 104 | testEquals([[NSString stringWithString:@"Test\n<script>alert(\"foobar\");"] stringWithoutHTMLInjection: NO], @"Test\n<scr***>alert(\"foobar\");"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:72:26: note: expanded from macro 'testEquals' 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:104:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 104 | testEquals([[NSString stringWithString:@"Test\n<script>alert(\"foobar\");"] stringWithoutHTMLInjection: NO], @"Test\n<scr***>alert(\"foobar\");"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:74:42: note: expanded from macro 'testEquals' 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:104:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 104 | testEquals([[NSString stringWithString:@"Test\n<script>alert(\"foobar\");"] stringWithoutHTMLInjection: NO], @"Test\n<scr***>alert(\"foobar\");"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:75:83: note: expanded from macro 'testEquals' 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ^ ./SOGoTest.h:64:31: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:105:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 105 | testEquals([[NSString stringWithString:@"<img vbscript:test"] stringWithoutHTMLInjection: NO], @"<img test"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:22: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:105:3: warning: direct comparison of a string literal has undefined behavior [-Wobjc-string-compare] 105 | testEquals([[NSString stringWithString:@"<img vbscript:test"] stringWithoutHTMLInjection: NO], @"<img test"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:25: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | && [(b) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:105:3: note: use 'isEqual:' instead ./SOGoTest.h:71:25: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ TestNSString+Utilities.m:105:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 105 | testEquals([[NSString stringWithString:@"<img vbscript:test"] stringWithoutHTMLInjection: NO], @"<img test"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:39: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:105:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 105 | testEquals([[NSString stringWithString:@"<img vbscript:test"] stringWithoutHTMLInjection: NO], @"<img test"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:72:26: note: expanded from macro 'testEquals' 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:105:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 105 | testEquals([[NSString stringWithString:@"<img vbscript:test"] stringWithoutHTMLInjection: NO], @"<img test"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:74:42: note: expanded from macro 'testEquals' 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:105:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 105 | testEquals([[NSString stringWithString:@"<img vbscript:test"] stringWithoutHTMLInjection: NO], @"<img test"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:75:83: note: expanded from macro 'testEquals' 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ^ ./SOGoTest.h:64:31: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:106:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 106 | testEquals([[NSString stringWithString:@"<img javascript:test"] stringWithoutHTMLInjection: NO], @"<img test"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:22: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:106:3: warning: direct comparison of a string literal has undefined behavior [-Wobjc-string-compare] 106 | testEquals([[NSString stringWithString:@"<img javascript:test"] stringWithoutHTMLInjection: NO], @"<img test"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:25: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | && [(b) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:106:3: note: use 'isEqual:' instead ./SOGoTest.h:71:25: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ TestNSString+Utilities.m:106:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 106 | testEquals([[NSString stringWithString:@"<img javascript:test"] stringWithoutHTMLInjection: NO], @"<img test"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:39: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:106:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 106 | testEquals([[NSString stringWithString:@"<img javascript:test"] stringWithoutHTMLInjection: NO], @"<img test"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:72:26: note: expanded from macro 'testEquals' 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:106:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 106 | testEquals([[NSString stringWithString:@"<img javascript:test"] stringWithoutHTMLInjection: NO], @"<img test"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:74:42: note: expanded from macro 'testEquals' 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:106:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 106 | testEquals([[NSString stringWithString:@"<img javascript:test"] stringWithoutHTMLInjection: NO], @"<img test"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:75:83: note: expanded from macro 'testEquals' 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ^ ./SOGoTest.h:64:31: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:107:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 107 | testEquals([[NSString stringWithString:@"<img livescript:test"] stringWithoutHTMLInjection: NO], @"<img test"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:22: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:107:3: warning: direct comparison of a string literal has undefined behavior [-Wobjc-string-compare] 107 | testEquals([[NSString stringWithString:@"<img livescript:test"] stringWithoutHTMLInjection: NO], @"<img test"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:25: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | && [(b) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:107:3: note: use 'isEqual:' instead ./SOGoTest.h:71:25: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ TestNSString+Utilities.m:107:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 107 | testEquals([[NSString stringWithString:@"<img livescript:test"] stringWithoutHTMLInjection: NO], @"<img test"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:39: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:107:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 107 | testEquals([[NSString stringWithString:@"<img livescript:test"] stringWithoutHTMLInjection: NO], @"<img test"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:72:26: note: expanded from macro 'testEquals' 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:107:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 107 | testEquals([[NSString stringWithString:@"<img livescript:test"] stringWithoutHTMLInjection: NO], @"<img test"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:74:42: note: expanded from macro 'testEquals' 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:107:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 107 | testEquals([[NSString stringWithString:@"<img livescript:test"] stringWithoutHTMLInjection: NO], @"<img test"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:75:83: note: expanded from macro 'testEquals' 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ^ ./SOGoTest.h:64:31: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:108:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 108 | testEquals([[NSString stringWithString:@"foobar <form action=\"\">bar</form>"] stringWithoutHTMLInjection: NO], @"foobar <for* action=\"\">bar</for*>"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:22: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:108:3: warning: direct comparison of a string literal has undefined behavior [-Wobjc-string-compare] 108 | testEquals([[NSString stringWithString:@"foobar <form action=\"\">bar</form>"] stringWithoutHTMLInjection: NO], @"foobar <for* action=\"\">bar</for*>"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:25: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | && [(b) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:108:3: note: use 'isEqual:' instead ./SOGoTest.h:71:25: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ TestNSString+Utilities.m:108:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 108 | testEquals([[NSString stringWithString:@"foobar <form action=\"\">bar</form>"] stringWithoutHTMLInjection: NO], @"foobar <for* action=\"\">bar</for*>"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:39: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:108:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 108 | testEquals([[NSString stringWithString:@"foobar <form action=\"\">bar</form>"] stringWithoutHTMLInjection: NO], @"foobar <for* action=\"\">bar</for*>"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:72:26: note: expanded from macro 'testEquals' 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:108:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 108 | testEquals([[NSString stringWithString:@"foobar <form action=\"\">bar</form>"] stringWithoutHTMLInjection: NO], @"foobar <for* action=\"\">bar</for*>"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:74:42: note: expanded from macro 'testEquals' 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:108:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 108 | testEquals([[NSString stringWithString:@"foobar <form action=\"\">bar</form>"] stringWithoutHTMLInjection: NO], @"foobar <for* action=\"\">bar</for*>"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:75:83: note: expanded from macro 'testEquals' 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ^ ./SOGoTest.h:64:31: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:109:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 109 | testEquals([[NSString stringWithString:@"foobar <iframe src=\"\">bar</iframe>"] stringWithoutHTMLInjection: NO], @"foobar <ifr*** src=\"\">bar</iframe>"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:22: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:109:3: warning: direct comparison of a string literal has undefined behavior [-Wobjc-string-compare] 109 | testEquals([[NSString stringWithString:@"foobar <iframe src=\"\">bar</iframe>"] stringWithoutHTMLInjection: NO], @"foobar <ifr*** src=\"\">bar</iframe>"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:25: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | && [(b) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:109:3: note: use 'isEqual:' instead ./SOGoTest.h:71:25: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ TestNSString+Utilities.m:109:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 109 | testEquals([[NSString stringWithString:@"foobar <iframe src=\"\">bar</iframe>"] stringWithoutHTMLInjection: NO], @"foobar <ifr*** src=\"\">bar</iframe>"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:39: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:109:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 109 | testEquals([[NSString stringWithString:@"foobar <iframe src=\"\">bar</iframe>"] stringWithoutHTMLInjection: NO], @"foobar <ifr*** src=\"\">bar</iframe>"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:72:26: note: expanded from macro 'testEquals' 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:109:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 109 | testEquals([[NSString stringWithString:@"foobar <iframe src=\"\">bar</iframe>"] stringWithoutHTMLInjection: NO], @"foobar <ifr*** src=\"\">bar</iframe>"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:74:42: note: expanded from macro 'testEquals' 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:109:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 109 | testEquals([[NSString stringWithString:@"foobar <iframe src=\"\">bar</iframe>"] stringWithoutHTMLInjection: NO], @"foobar <ifr*** src=\"\">bar</iframe>"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:75:83: note: expanded from macro 'testEquals' 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ^ ./SOGoTest.h:64:31: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:110:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 110 | testEquals([[NSString stringWithString:@"foobar <img onload=foo bar"] stringWithoutHTMLInjection: NO], @"foobar <img onl***=foo bar"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:22: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:110:3: warning: direct comparison of a string literal has undefined behavior [-Wobjc-string-compare] 110 | testEquals([[NSString stringWithString:@"foobar <img onload=foo bar"] stringWithoutHTMLInjection: NO], @"foobar <img onl***=foo bar"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:25: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | && [(b) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:110:3: note: use 'isEqual:' instead ./SOGoTest.h:71:25: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ TestNSString+Utilities.m:110:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 110 | testEquals([[NSString stringWithString:@"foobar <img onload=foo bar"] stringWithoutHTMLInjection: NO], @"foobar <img onl***=foo bar"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:39: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:110:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 110 | testEquals([[NSString stringWithString:@"foobar <img onload=foo bar"] stringWithoutHTMLInjection: NO], @"foobar <img onl***=foo bar"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:72:26: note: expanded from macro 'testEquals' 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:110:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 110 | testEquals([[NSString stringWithString:@"foobar <img onload=foo bar"] stringWithoutHTMLInjection: NO], @"foobar <img onl***=foo bar"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:74:42: note: expanded from macro 'testEquals' 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:110:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 110 | testEquals([[NSString stringWithString:@"foobar <img onload=foo bar"] stringWithoutHTMLInjection: NO], @"foobar <img onl***=foo bar"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:75:83: note: expanded from macro 'testEquals' 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ^ ./SOGoTest.h:64:31: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:111:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 111 | testEquals([[NSString stringWithString:@"foobar <img onmouseover=foo bar"] stringWithoutHTMLInjection: NO], @"foobar <img onmouseo***=foo bar"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:22: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:111:3: warning: direct comparison of a string literal has undefined behavior [-Wobjc-string-compare] 111 | testEquals([[NSString stringWithString:@"foobar <img onmouseover=foo bar"] stringWithoutHTMLInjection: NO], @"foobar <img onmouseo***=foo bar"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:25: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | && [(b) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:111:3: note: use 'isEqual:' instead ./SOGoTest.h:71:25: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ TestNSString+Utilities.m:111:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 111 | testEquals([[NSString stringWithString:@"foobar <img onmouseover=foo bar"] stringWithoutHTMLInjection: NO], @"foobar <img onmouseo***=foo bar"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:39: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:111:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 111 | testEquals([[NSString stringWithString:@"foobar <img onmouseover=foo bar"] stringWithoutHTMLInjection: NO], @"foobar <img onmouseo***=foo bar"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:72:26: note: expanded from macro 'testEquals' 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:111:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 111 | testEquals([[NSString stringWithString:@"foobar <img onmouseover=foo bar"] stringWithoutHTMLInjection: NO], @"foobar <img onmouseo***=foo bar"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:74:42: note: expanded from macro 'testEquals' 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:111:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 111 | testEquals([[NSString stringWithString:@"foobar <img onmouseover=foo bar"] stringWithoutHTMLInjection: NO], @"foobar <img onmouseo***=foo bar"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:75:83: note: expanded from macro 'testEquals' 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ^ ./SOGoTest.h:64:31: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:112:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 112 | testEquals([[NSString stringWithString:@"<!DOCTYPE html><html><head><style>@import url(https://foo.bar/malicious.css);.foo{background-color: red; @import url(https://bar.foo/malicious2.css);</style></head><body><table><tr><td>A</td><td>B</td><td>C</td></tr></table></body></html>"] stringWithoutHTMLInjection: NO], @"<!DOCTYPE html><html><head><style>@im**** url(https://foo.bar/malicious.css);.foo{background-color: red; @im**** url(https://bar.foo/malicious2.css);</style></head><body><table><tr><td>A</td><td>B</td><td>C</td></tr></table></body></html>"); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:22: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | && [(b) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:112:3: warning: direct comparison of a string literal has undefined behavior [-Wobjc-string-compare] 112 | testEquals([[NSString stringWithString:@"<!DOCTYPE html><html><head><style>@import url(https://foo.bar/malicious.css);.foo{background-color: red; @import url(https://bar.foo/malicious2.css);</style></head><body><table><tr><td>A</td><td>B</td><td>C</td></tr></table></body></html>"] stringWithoutHTMLInjection: NO], @"<!DOCTYPE html><html><head><style>@im**** url(https://foo.bar/malicious.css);.foo{background-color: red; @im**** url(https://bar.foo/malicious2.css);</style></head><body><table><tr><td>A</td><td>B</td><td>C</td></tr></table></body></html>"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:25: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | && [(b) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:112:3: note: use 'isEqual:' instead ./SOGoTest.h:71:25: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ TestNSString+Utilities.m:112:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 112 | testEquals([[NSString stringWithString:@"<!DOCTYPE html><html><head><style>@import url(https://foo.bar/malicious.css);.foo{background-color: red; @import url(https://bar.foo/malicious2.css);</style></head><body><table><tr><td>A</td><td>B</td><td>C</td></tr></table></body></html>"] stringWithoutHTMLInjection: NO], @"<!DOCTYPE html><html><head><style>@im**** url(https://foo.bar/malicious.css);.foo{background-color: red; @im**** url(https://bar.foo/malicious2.css);</style></head><body><table><tr><td>A</td><td>B</td><td>C</td></tr></table></body></html>"); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:39: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | && [(b) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:112:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 112 | testEquals([[NSString stringWithString:@"<!DOCTYPE html><html><head><style>@import url(https://foo.bar/malicious.css);.foo{background-color: red; @import url(https://bar.foo/malicious2.css);</style></head><body><table><tr><td>A</td><td>B</td><td>C</td></tr></table></body></html>"] stringWithoutHTMLInjection: NO], @"<!DOCTYPE html><html><head><style>@im**** url(https://foo.bar/malicious.css);.foo{background-color: red; @im**** url(https://bar.foo/malicious2.css);</style></head><body><table><tr><td>A</td><td>B</td><td>C</td></tr></table></body></html>"); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:72:26: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | && [(b) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:112:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 112 | testEquals([[NSString stringWithString:@"<!DOCTYPE html><html><head><style>@import url(https://foo.bar/malicious.css);.foo{background-color: red; @import url(https://bar.foo/malicious2.css);</style></head><body><table><tr><td>A</td><td>B</td><td>C</td></tr></table></body></html>"] stringWithoutHTMLInjection: NO], @"<!DOCTYPE html><html><head><style>@im**** url(https://foo.bar/malicious.css);.foo{background-color: red; @im**** url(https://bar.foo/malicious2.css);</style></head><body><table><tr><td>A</td><td>B</td><td>C</td></tr></table></body></html>"); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:74:42: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | && [(b) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:112:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 112 | testEquals([[NSString stringWithString:@"<!DOCTYPE html><html><head><style>@import url(https://foo.bar/malicious.css);.foo{background-color: red; @import url(https://bar.foo/malicious2.css);</style></head><body><table><tr><td>A</td><td>B</td><td>C</td></tr></table></body></html>"] stringWithoutHTMLInjection: NO], @"<!DOCTYPE html><html><head><style>@im**** url(https://foo.bar/malicious.css);.foo{background-color: red; @im**** url(https://bar.foo/malicious2.css);</style></head><body><table><tr><td>A</td><td>B</td><td>C</td></tr></table></body></html>"); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:75:83: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | && [(b) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ./SOGoTest.h:64:31: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:117:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 117 | testEquals([[NSString stringWithString:@"<div>Test<!--></div>"] cleanInvalidHTMLTags], @"<div>Test</div>"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:22: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:117:3: warning: direct comparison of a string literal has undefined behavior [-Wobjc-string-compare] 117 | testEquals([[NSString stringWithString:@"<div>Test<!--></div>"] cleanInvalidHTMLTags], @"<div>Test</div>"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:25: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | && [(b) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:117:3: note: use 'isEqual:' instead ./SOGoTest.h:71:25: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ TestNSString+Utilities.m:117:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 117 | testEquals([[NSString stringWithString:@"<div>Test<!--></div>"] cleanInvalidHTMLTags], @"<div>Test</div>"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:39: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:117:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 117 | testEquals([[NSString stringWithString:@"<div>Test<!--></div>"] cleanInvalidHTMLTags], @"<div>Test</div>"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:72:26: note: expanded from macro 'testEquals' 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:117:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 117 | testEquals([[NSString stringWithString:@"<div>Test<!--></div>"] cleanInvalidHTMLTags], @"<div>Test</div>"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:74:42: note: expanded from macro 'testEquals' 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ^ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:117:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 117 | testEquals([[NSString stringWithString:@"<div>Test<!--></div>"] cleanInvalidHTMLTags], @"<div>Test</div>"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:75:83: note: expanded from macro 'testEquals' 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ^ ./SOGoTest.h:64:31: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:118:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 118 | testEquals([[NSString stringWithString:@"<div><!--[if !mso]><span>Test</span><!--<![endif]--></div>"] cleanInvalidHTMLTags], @"<div><!--[if !mso]><span>Test</span><!--[endif]--></div>"); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:22: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | && [(b) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:118:3: warning: direct comparison of a string literal has undefined behavior [-Wobjc-string-compare] 118 | testEquals([[NSString stringWithString:@"<div><!--[if !mso]><span>Test</span><!--<![endif]--></div>"] cleanInvalidHTMLTags], @"<div><!--[if !mso]><span>Test</span><!--[endif]--></div>"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:25: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | && [(b) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:118:3: note: use 'isEqual:' instead ./SOGoTest.h:71:25: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ TestNSString+Utilities.m:118:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 118 | testEquals([[NSString stringWithString:@"<div><!--[if !mso]><span>Test</span><!--<![endif]--></div>"] cleanInvalidHTMLTags], @"<div><!--[if !mso]><span>Test</span><!--[endif]--></div>"); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:39: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | && [(b) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:118:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 118 | testEquals([[NSString stringWithString:@"<div><!--[if !mso]><span>Test</span><!--<![endif]--></div>"] cleanInvalidHTMLTags], @"<div><!--[if !mso]><span>Test</span><!--[endif]--></div>"); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:72:26: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | && [(b) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:118:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 118 | testEquals([[NSString stringWithString:@"<div><!--[if !mso]><span>Test</span><!--<![endif]--></div>"] cleanInvalidHTMLTags], @"<div><!--[if !mso]><span>Test</span><!--[endif]--></div>"); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:74:42: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | && [(b) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:118:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 118 | testEquals([[NSString stringWithString:@"<div><!--[if !mso]><span>Test</span><!--<![endif]--></div>"] cleanInvalidHTMLTags], @"<div><!--[if !mso]><span>Test</span><!--[endif]--></div>"); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:75:83: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | && [(b) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ./SOGoTest.h:64:31: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:123:16: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 123 | testEquals([[NSString stringWithString:@"<div>Test<img src=\"foo\" />bar <a href=\"https://www.sogo.nu\" target=\"_blank\">link</a> <strong>foobar</strong></div>"] removeHTMLTagsExceptAnchorTags], @"Testbar <a href=\"https://www.sogo.nu\" target=\"_blank\">link</a> foobar"); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:22: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | && [(b) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:123:4: warning: direct comparison of a string literal has undefined behavior [-Wobjc-string-compare] 123 | testEquals([[NSString stringWithString:@"<div>Test<img src=\"foo\" />bar <a href=\"https://www.sogo.nu\" target=\"_blank\">link</a> <strong>foobar</strong></div>"] removeHTMLTagsExceptAnchorTags], @"Testbar <a href=\"https://www.sogo.nu\" target=\"_blank\">link</a> foobar"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:25: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | && [(b) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:123:4: note: use 'isEqual:' instead ./SOGoTest.h:71:25: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ^ TestNSString+Utilities.m:123:16: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 123 | testEquals([[NSString stringWithString:@"<div>Test<img src=\"foo\" />bar <a href=\"https://www.sogo.nu\" target=\"_blank\">link</a> <strong>foobar</strong></div>"] removeHTMLTagsExceptAnchorTags], @"Testbar <a href=\"https://www.sogo.nu\" target=\"_blank\">link</a> foobar"); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:71:39: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | && [(b) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:123:16: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 123 | testEquals([[NSString stringWithString:@"<div>Test<img src=\"foo\" />bar <a href=\"https://www.sogo.nu\" target=\"_blank\">link</a> <strong>foobar</strong></div>"] removeHTMLTagsExceptAnchorTags], @"Testbar <a href=\"https://www.sogo.nu\" target=\"_blank\">link</a> foobar"); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:72:26: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | && [(b) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:123:16: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 123 | testEquals([[NSString stringWithString:@"<div>Test<img src=\"foo\" />bar <a href=\"https://www.sogo.nu\" target=\"_blank\">link</a> <strong>foobar</strong></div>"] removeHTMLTagsExceptAnchorTags], @"Testbar <a href=\"https://www.sogo.nu\" target=\"_blank\">link</a> foobar"); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:74:42: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | && [(b) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:64:18: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ TestNSString+Utilities.m:123:16: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use] 123 | testEquals([[NSString stringWithString:@"<div>Test<img src=\"foo\" />bar <a href=\"https://www.sogo.nu\" target=\"_blank\">link</a> <strong>foobar</strong></div>"] removeHTMLTagsExceptAnchorTags], @"Testbar <a href=\"https://www.sogo.nu\" target=\"_blank\">link</a> foobar"); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./SOGoTest.h:75:83: note: expanded from macro 'testEquals' 71 | testWithMessage((((a) == (b)) || ([(a) isEqual: (b)]) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | || ([(a) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | && [(b) isKindOfClass: [NSNumber class]] \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | && [(NSNumber *) (a) isEqualToNumber: (NSNumber *) (b)])), \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | ([NSString stringWithFormat: @"objects '%@' and '%@' differs", (a), (b)])) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ ./SOGoTest.h:64:31: note: expanded from macro 'testWithMessage' 64 | [self test: (c) message: (m) \ | ^ 86 warnings generated. Compiling file TestNSURL+misc.m ... TestNSURL+misc.m:56:79: warning: format specifies type 'int' but the argument has type 'NSUInteger' (aka 'unsigned long') [-Wformat] 56 | @"expected '%@' to have 2 entries, got %d", urlStr, [queryComp count]]; | ~~ ^~~~~~~~~~~~~~~~~ | %lu TestNSURL+misc.m:66:80: warning: format specifies type 'int' but the argument has type 'NSUInteger' (aka 'unsigned long') [-Wformat] 66 | @"expected '%@' to have no entries, got %d", urlStr, [queryComp count]]; | ~~ ^~~~~~~~~~~~~~~~~ | %lu 2 warnings generated. Compiling file TestNGMailAddressParser.m ... Compiling file TestNGInternetSocketAddress.m ... Compiling file TestRTFHandler.m ... Linking test_tool sogo-tests ... make[1]: don't know how to make /usr/pkgsrc/www/SOGo5/files/sogod.sh. Stop make[1]: stopped in /usr/pkgsrc/www/SOGo5 *** Error code 2 Stop. make: stopped in /usr/pkgsrc/www/SOGo5