View Issue Details

IDProjectCategoryView StatusLast Update
0000943SOGoSOPEpublic2015-10-15 16:49
ReporterwsourdeauAssigned Toludovic  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionsuspended 
Summary0000943: a few compilation warnings (CentOS/RHEL 5 32 bits)
Description

Most of those are due to type mismatches between formats and arguments with NSLog and alike.

NGQuotedPrintableCoding.m: In function '-[NSString(QuotedPrintableCoding) stringByDecodingQuotedPrintable]':
NGQuotedPrintableCoding.m:35: warning: pointer type mismatch in conditional expression
NGQuotedPrintableCoding.m: In function '-[NSString(QuotedPrintableCoding) stringByEncodingQuotedPrintable]':
NGQuotedPrintableCoding.m:51: warning: pointer type mismatch in conditional expression

Compiling file NGMimeFileData.m ...
NGMimeFileData.m: In function '-[NGMimeFileData initWithBytes:length:]':
NGMimeFileData.m:93: warning: format '%li' expects type 'long int', but argument 3 has type 'NSUInteger'
NGMimeFileData.m: In function '-[NGMimeFileData appendDataToFileDesc:]':
NGMimeFileData.m:174: warning: format '%li' expects type 'long int', but argument 4 has type 'NSInteger'
Compiling file NGMimeJoinedData.m ...
NGMimeJoinedData.m: In function '-[NGMimeJoinedData writeToFile:atomically:]':
NGMimeJoinedData.m:136: warning: format '%li' expects type 'long int', but argument 3 has type 'unsigned int'

NGImap4Connection.m: In function '-[NGImap4Connection primaryFetchMailboxHierarchyForURL:onlySubscribedFolders:]':
NGImap4Connection.m:391: warning: pointer type mismatch in conditional expression
NGImap4Connection.m:394: warning: pointer type mismatch in conditional expression

SoWebDAVRenderer.m: In function '-[SoWebDAVRenderer renderObjectBodyResult:inContext:onlyHead:]':
SoWebDAVRenderer.m:190: warning: format '%ld' expects type 'long int', but argument 3 has type 'unsigned int'
SoWebDAVRenderer.m:207: warning: format '%ld' expects type 'long int', but argument 3 has type 'unsigned int'

WOResponse.m: In function '-[WOResponse disableClientCaching]':
WOResponse.m:138: warning: format '%02li' expects type 'long int', but argument 4 has type 'int'
WOResponse.m:138: warning: format '%04li' expects type 'long int', but argument 6 has type 'int'
WOResponse.m:138: warning: format '%02li' expects type 'long int', but argument 7 has type 'int'
WOResponse.m:138: warning: format '%02li' expects type 'long int', but argument 8 has type 'int'
WOResponse.m:138: warning: format '%02li' expects type 'long int', but argument 9 has type 'int'

WOStatisticsStore.m: In function '-[WOStatisticsStore formatDescription:forResponse:inContext:]':
WOStatisticsStore.m:409: warning: format '%02li' expects type 'long int', but argument 3 has type 'int'
WOStatisticsStore.m:409: warning: format '%04li' expects type 'long int', but argument 5 has type 'int'
WOStatisticsStore.m:409: warning: format '%02li' expects type 'long int', but argument 6 has type 'int'
WOStatisticsStore.m:409: warning: format '%02li' expects type 'long int', but argument 7 has type 'int'
WOStatisticsStore.m:409: warning: format '%02li' expects type 'long int', but argument 8 has type 'int'

WEPageView.m: In function '-[WEPageItem appendHead:toResponse:inContext:]':
WEPageView.m:770: warning: format '%ld' expects type 'long int', but argument 3 has type 'NSUInteger'

WETableMatrix.m: In function '-[WEVSpanTableMatrix appendSpans:toResponse:inContext:]':
WETableMatrix.m:445: warning: format '%ld' expects type 'long int', but argument 3 has type 'unsigned int'

Compiling file WEPrototypeScriptAction.m ...
cc1obj: warning: unknown escape sequence '\/'
cc1obj: warning: unknown escape sequence '\/'
cc1obj: warning: unknown escape sequence '\S'

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2010-11-02 18:07 wsourdeau New Issue
2015-10-15 16:49 ludovic Status new => closed
2015-10-15 16:49 ludovic Assigned To => ludovic
2015-10-15 16:49 ludovic Resolution open => suspended