Compile Error nsAbContentHandler.cpp(129)

RESOLVED DUPLICATE of bug 1221067

Status

RESOLVED DUPLICATE of bug 1221067
3 years ago
3 years ago

People

(Reporter: frg, Unassigned)

Tracking

SeaMonkey 2.42 Branch
Unspecified
Windows

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

3 years ago
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39
Build ID: 20151103150445

Steps to reproduce:

Try to compile Seamonkey with VS2015 Update 1 RC




Actual results:

The file nsAbContentHandler.cpp can not be compiled. 

The following error message is shown:

>>
c:/seamonkey/comm-central/mailnews/addrbook/src/nsAbContentHandler.cpp(129): error C2665: 'NS_NewStreamLoader': none of the 3 overloads could convert all the argument types
../../../dist/include\nsNetUtil.h(397): note: could be 'nsresult NS_NewStreamLoader(nsIStreamLoader **,nsIURI *,nsIStreamLoaderObserver *,nsIPrincipal *,nsSecurityFlags,nsContentPolicyType,nsILoadGroup *,nsIInterfaceRequestor *,nsLoadFlags,nsIURI *)'
../../../dist/include\nsNetUtil.h(385): note: or       'nsresult NS_NewStreamLoader(nsIStreamLoader **,nsIURI *,nsIStreamLoaderObserver *,nsINode *,nsSecurityFlags,nsContentPolicyType,nsILoadGroup *,nsIInterfaceRequestor *,nsLoadFlags,nsIURI *)'
c:/seamonkey/comm-central/mailnews/addrbook/src/nsAbContentHandler.cpp(129): note: while trying to match the argument list '(nsGetterAddRefs<nsIStreamLoader>, nsCOMPtr<nsIURI>, nsAbContentHandler *const , nsCOMPtr<nsIPrincipal>, , , nsIInterfaceRequestor *)'
c:/seamonkey/comm-central/mozilla/config/rules.mk:958: recipe for target 'nsAbContentHandler.obj' failed
<<




Expected results:

Seamonkey should compile. The file was last changed today for Bug 1218875 but this might be unrelated.
(Reporter)

Updated

3 years ago
Blocks: 1119082
OS: Unspecified → Windows
(Reporter)

Updated

3 years ago
No longer blocks: 1119082
(Reporter)

Updated

3 years ago
Summary: VS2015 Compile Error nsAbContentHandler.cpp(129) → Compile Error nsAbContentHandler.cpp(129)
(Reporter)

Comment 1

3 years ago
I was braindead. VS2013 build also fails. Caused by changes in Bug 1206964
(Reporter)

Comment 2

3 years ago
Created attachment 8682630 [details] [diff] [review]
1221176-NS_NewStreamLoader.patch

According to the patch details in Bug 1206964 all which is needed is to remove the aContext parameter. Compile continues with the patch. Didn't test it yet.
(Reporter)

Comment 3

3 years ago
Duplicate of Bug 1221067

And the default search s*cks. I didn't find it when looking using various parameters :)
(Reporter)

Updated

3 years ago
Status: UNCONFIRMED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 1221067
You need to log in before you can comment on or make changes to this bug.