Closed Bug 580546 Opened 14 years ago Closed 14 years ago

FrameLayerBuilder.cpp failed to compile with Sun Studio 12

Categories

(Core :: Layout, defect)

All
Solaris
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla2.0b3

People

(Reporter: ginnchen+exoracle, Assigned: ginnchen+exoracle)

Details

Attachments

(1 file)

"../../../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.
Attached patch patchSplinter Review
Assignee: nobody → ginn.chen
Status: NEW → ASSIGNED
Attachment #458948 - Flags: review?(roc)
Comment on attachment 458948 [details] [diff] [review]
patch

make it compile with SS12, it is safe
Attachment #458948 - Flags: approval2.0?
Attachment #458948 - Flags: approval2.0? → approval2.0+
http://hg.mozilla.org/mozilla-central/rev/9b5aea4bf62d
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: