The default bug view has changed. See this FAQ.

Port bug 1342303 to mailnews - Add ranged-for loop support to nsCOMArray

RESOLVED FIXED in Thunderbird 54.0

Status

MailNews Core
Backend
RESOLVED FIXED
23 days ago
23 days ago

People

(Reporter: Jorg K (GMT+1), Assigned: Jorg K (GMT+1))

Tracking

unspecified
Thunderbird 54.0

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

23 days ago
Causing bustage:

c:/builds/moz2_slave/tb-c-cen-w32-00000000000000000/build/mailnews/compose/src/nsSmtpService.cpp(627): error C2664: 'bool nsCOMArray_base::EnumerateForwards(nsCOMArray_base::nsBaseArrayEnumFunc,void *) const': cannot convert argument 1 from 'bool (__cdecl *)(nsISmtpServer *,void *)' to 'nsCOMArray_base::nsBaseArrayEnumFunc'
c:/builds/moz2_slave/tb-c-cen-w32-00000000000000000/build/mailnews/compose/src/nsSmtpService.cpp(651): error C2664: 'bool nsCOMArray_base::EnumerateForwards(nsCOMArray_base::nsBaseArrayEnumFunc,void *) const': cannot convert argument 1 from 'bool (__cdecl *)(nsISmtpServer *,void *)' to 'nsCOMArray_base::nsBaseArrayEnumFunc'
c:/builds/moz2_slave/tb-c-cen-w32-00000000000000000/build/mailnews/compose/src/nsSmtpService.cpp(746): error C2664: 'bool nsCOMArray_base::EnumerateForwards(nsCOMArray_base::nsBaseArrayEnumFunc,void *) const': cannot convert argument 1 from 'bool (__cdecl *)(nsISmtpServer *,void *)' to 'nsCOMArray_base::nsBaseArrayEnumFunc'
mozmake.exe[5]: *** [nsSmtpService.obj] Error 2
mozmake.exe[5]: *** Waiting for unfinished jobs....
mozmake.exe[4]: *** [mailnews/compose/src/target] Error 2
mozmake.exe[4]: *** Waiting for unfinished jobs....
c:/builds/moz2_slave/tb-c-cen-w32-00000000000000000/build/mailnews/base/src/nsMsgRDFDataSource.cpp(332): error C2664: 'bool nsCOMArray_base::EnumerateForwards(nsCOMArray_base::nsBaseArrayEnumFunc,void *) const': cannot convert argument 1 from 'bool (__cdecl *)(nsIRDFObserver *,void *)' to 'nsCOMArray_base::nsBaseArrayEnumFunc'
c:/builds/moz2_slave/tb-c-cen-w32-00000000000000000/build/mailnews/base/src/nsMsgRDFDataSource.cpp(334): error C2664: 'bool nsCOMArray_base::EnumerateForwards(nsCOMArray_base::nsBaseArrayEnumFunc,void *) const': cannot convert argument 1 from 'bool (__cdecl *)(nsIRDFObserver *,void *)' to 'nsCOMArray_base::nsBaseArrayEnumFunc'
c:/builds/moz2_slave/tb-c-cen-w32-00000000000000000/build/mailnews/base/src/nsMsgRDFDataSource.cpp(336): error C2664: 'bool nsCOMArray_base::EnumerateForwards(nsCOMArray_base::nsBaseArrayEnumFunc,void *) const': cannot convert argument 1 from 'bool (__cdecl *)(nsIRDFObserver *,void *)' to 'nsCOMArray_base::nsBaseArrayEnumFunc'
(Assignee)

Comment 1

23 days ago
Created attachment 8843335 [details] [diff] [review]
1344250-comarray.patch

This compiles.
Assignee: nobody → jorgk
Status: NEW → ASSIGNED

Comment 2

23 days ago
SeaMonkey compiles too. No errors so far using mail and news.
(Assignee)

Comment 3

23 days ago
https://hg.mozilla.org/comm-central/rev/476139ec861993d52b89ad53f43477c02672dc68
Status: ASSIGNED → RESOLVED
Last Resolved: 23 days ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 54.0
You need to log in before you can comment on or make changes to this bug.