FrameLayerBuilder.cpp failed to compile with Sun Studio 12

RESOLVED FIXED in mozilla2.0b3

Status

()

Core
Layout
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: Ginn Chen, Assigned: Ginn Chen)

Tracking

unspecified
mozilla2.0b3
All
Solaris
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

988 bytes, patch
roc
: review+
Benjamin Smedberg
: approval2.0+
Details | Diff | Splinter Review
(Assignee)

Description

8 years ago
"../../../mozilla-central/layout/base/FrameLayerBuilder.cpp", line 1078: Error: Ambiguous "?:" expression, second operand of type "long" and third operand of type "nsRefPtr<mozilla::layers::Layer>" can be converted to one another.
1 Error(s) and 4 Warning(s) detected.
(Assignee)

Comment 1

8 years ago
Created attachment 458948 [details] [diff] [review]
patch
Assignee: nobody → ginn.chen
Status: NEW → ASSIGNED
Attachment #458948 - Flags: review?(roc)
(Assignee)

Comment 2

8 years ago
Comment on attachment 458948 [details] [diff] [review]
patch

make it compile with SS12, it is safe
Attachment #458948 - Flags: approval2.0?

Updated

8 years ago
Attachment #458948 - Flags: approval2.0? → approval2.0+
(Assignee)

Comment 3

8 years ago
http://hg.mozilla.org/mozilla-central/rev/9b5aea4bf62d
Status: ASSIGNED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b3
You need to log in before you can comment on or make changes to this bug.