The default bug view has changed. See this FAQ.

nsProfileLock nullptr related build errors with vc11

RESOLVED FIXED in mozilla17

Status

()

Core
General
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: jimm, Unassigned)

Tracking

Trunk
mozilla17
x86_64
Windows 7
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
nsProfileLock.cpp
f:/Mozilla/firefox/mc/profile/dirserviceprovider/src/nsProfileLock.cpp(583) : error C2664: 'CreateFileW' : cannot convert parameter 6 from 'nullptr' to 'DWORD'
        A native nullptr can only be converted to bool or, using reinterpret_cast, to an integral type
make[5]: *** [nsProfileLock.obj] Error 2

all most there....
(Reporter)

Comment 1

5 years ago
Created attachment 645295 [details] [diff] [review]
patch
Attachment #645295 - Flags: review?(netzen)
(Reporter)

Comment 2

5 years ago
Actually, that last param can stay an nsnull, in bug 626472 these will be mass changed to nullptr.
Attachment #645295 - Flags: review?(netzen) → review+
I'm fine either way, the important one is the DWORD value
https://hg.mozilla.org/mozilla-central/rev/e3b75fdcdbf3
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
You need to log in before you can comment on or make changes to this bug.