Closed Bug 776918 Opened 12 years ago Closed 12 years ago

The rest of the nullptr related build errors with vc11

Categories

(Core :: General, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla17

People

(Reporter: jimm, Unassigned)

References

Details

Attachments

(1 file)

no need to keep filing new bugs, these are all smallish changes.
nsParentalControlsServiceWin.cpp f:/Mozilla/firefox/mc/toolkit/components/parentalcontrols/nsParentalControlsServiceWin.cpp(47) : error C2440: 'initializing' : cannot convert from 'nullptr' to 'REGHANDLE' A native nullptr can only be converted to bool or, using reinterpret_cast, to an integral type f:/Mozilla/firefox/mc/toolkit/components/parentalcontrols/nsParentalControlsServiceWin.cpp(47) : error C2439: 'nsParentalControlsServiceWin::mProvider' : member could not be initialized f:\mozilla\firefox\mc\toolkit\components\parentalcontrols\nsParentalControlsServiceWin.h(34) : see declaration of 'nsParentalControlsServiceWin::mProvider' make[5]: *** [nsParentalControlsServiceWin.obj] Error 2
dlldeps-xul.cpp f:/Mozilla/firefox/mc/toolkit/library/dlldeps-xul.cpp(9) : error C2664: 'XRE_main' : cannot convert parameter 4 from 'nullptr' to 'PRUint32' A native nullptr can only be converted to bool or, using reinterpret_cast, to an integral type make[1]: *** [dlldeps-xul.obj] Error 2
Attached patch patchSplinter Review
The parental controls one is obvious. The XRE-main one is actually a bug from the metro work, that should have been zero since it's a flag, not a ptr.
Attachment #645306 - Flags: review?(netzen)
Attachment #645306 - Flags: review?(netzen) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: