[Webkit-unassigned] [Bug 57337] Fix compilation with Solaris 10/Sun Studio 12 CC : types must match on ?:

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 11 12:11:43 PDT 2011


--- Comment #13 from Ben Taylor <bentaylor.solx86 at gmail.com>  2011-04-11 12:11:43 PST ---
(In reply to comment #11)
> (From update of attachment 88008 [details])
> This looks fine, but I would prefer if you would add a comment here:
> // Using a ternary here confuses The Solaris 10 compiler:
> // http://link-to-solaris-10-compiler-bug
> That way someone is unlikely to break it again.
> Do we understand why only this one ternary fails?  We have lots of similar ternaries througout the project

Bug id found.  If I remove the inline from the template, the problem goes away which confirms bug CR 6569194, "Problem with question operator binding in inline function".  However, the recommendation was to use the if clause to fix this problem as removing the inline was not a good work around.

Fixing up the comments and will resubmit the patch.  However, the Bug report is not publically available, so will just provide the bug number and description.

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