Bug 57122

Summary: Fix compilation with Solaris 10/Sun Studio 12 CC : types must match on ?:
Product: WebKit Reporter: Ben Taylor <bentaylor.solx86>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Other   
Attachments:
Description Flags
Proposed patch which compiles correctly in qt-4.7.1 with webkit enabled on Solaris 10 with SS12 C++ compiler none

Description Ben Taylor 2011-03-25 14:28:04 PDT
"loader/DocumentLoader.h", line 186: Error: Different types for "?:" (WebCore::String and WebCore::KURL).

Sun Studio 12 expects types on a ?: expression to have the same types on both sides of the operation.
Comment 1 Ben Taylor 2011-03-25 14:35:27 PDT
Created attachment 86983 [details]
Proposed patch which compiles correctly in qt-4.7.1 with webkit enabled on Solaris 10 with SS12 C++ compiler

Patch to fix compile on Solaris 10/Sun Studio 12 in qt-4.7.1 with webkit. Patch against webkit head. original version of this patch attributed to Thiago Macieira.
Comment 2 WebKit Commit Bot 2011-03-25 17:30:54 PDT
Comment on attachment 86983 [details]
Proposed patch which compiles correctly in qt-4.7.1 with webkit enabled on Solaris 10 with SS12 C++ compiler

Clearing flags on attachment: 86983

Committed r82010: <http://trac.webkit.org/changeset/82010>
Comment 3 WebKit Commit Bot 2011-03-25 17:30:59 PDT
All reviewed patches have been landed.  Closing bug.