[Webkit-unassigned] [Bug 58725] New: Fix compilation on Solaris 10 with Sun Studio 12: ternary opertors must have matching types

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Apr 16 00:11:12 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=58725

           Summary: Fix compilation on Solaris 10 with Sun Studio 12:
                    ternary opertors must have matching types
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Other
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bentaylor.solx86 at gmail.com


Solaris Studio 12 Compilers on Solaris 10 enforce strong type checking on ternary operators:

Error: Ambiguous "?:" expression, second operand of type "WTF::PassRefPtr<WebCore::DocumentFragment>" and third operand of type "int" can be converted to one another.
Error: Ambiguous "?:" expression, second operand of type "WTF::PassRefPtr<JSC::Label>" and third operand of type "int" can be converted to one another.
[and others similar]

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list