Closed Bug 795584 Opened 12 years ago Closed 12 years ago

Cannot compile the latest Nightly using MSVC 11

Categories

(Core :: General, defect)

x86_64
Windows 8
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla18

People

(Reporter: emk, Assigned: emk)

References

Details

Attachments

(1 file)

> Comment 21 Philip Chee 2012-09-29 01:09:53 PDT
>
>I'm hitting this:
>
>c:/t1/hg/comm-central/mozilla/netwerk/protocol/http/nsHttpChannel.cpp(4492) : >error C2782: 'const T &mozilla::clamped(const T &,const T &,const T &)' : >template parameter 'T' is ambiguous
>        c:\t1\hg\objdir-sm\mozilla\dist\include\nsAlgorithm.h(55) : see >declaration of 'mozilla::clamped'
>        could be 'int16_t'
Assignee: nobody → VYV03354
Status: NEW → ASSIGNED
Attachment #666193 - Flags: review?(ehsan)
Comment on attachment 666193 [details] [diff] [review]
Add a template parameter to clamped

Review of attachment 666193 [details] [diff] [review]:
-----------------------------------------------------------------

LGTM, if you want to take my review before Ehsan gets here :)
Attachment #666193 - Flags: review+
I already got green on try along with other patches.
https://tbpl.mozilla.org/?tree=Try&rev=fd96b09d1bfa
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/42e5480fb109
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
Attachment #666193 - Flags: review?(ehsan) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: