Closed Bug 1221176 Opened 9 years ago Closed 9 years ago

Compile Error nsAbContentHandler.cpp(129)

Categories

(SeaMonkey :: MailNews: Address Book & Contacts, defect)

SeaMonkey 2.42 Branch
Unspecified
Windows
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1221067

People

(Reporter: frg, Unassigned)

Details

Attachments

(1 file)

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.
Blocks: VC14
OS: Unspecified → Windows
No longer blocks: VC14
Summary: VS2015 Compile Error nsAbContentHandler.cpp(129) → Compile Error nsAbContentHandler.cpp(129)
I was braindead. VS2013 build also fails. Caused by changes in Bug 1206964
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.
Duplicate of Bug 1221067

And the default search s*cks. I didn't find it when looking using various parameters :)
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: