Closed Bug 1344250 Opened 4 years ago Closed 4 years ago

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

Categories

(MailNews Core :: Backend, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 54.0

People

(Reporter: jorgk-bmo, Assigned: jorgk-bmo)

Details

Attachments

(1 file)

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'
This compiles.
Assignee: nobody → jorgk
Status: NEW → ASSIGNED
SeaMonkey compiles too. No errors so far using mail and news.
https://hg.mozilla.org/comm-central/rev/476139ec861993d52b89ad53f43477c02672dc68
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 54.0
You need to log in before you can comment on or make changes to this bug.