[Webkit-unassigned] [Bug 57535] Fix compilation on Solaris 10 with Sun Studio 12, missing definition for time_t

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Apr 10 13:19:51 PDT 2011


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





--- Comment #22 from Ben Taylor <bentaylor.solx86 at gmail.com>  2011-04-10 13:19:50 PST ---
(In reply to comment #21)
> (In reply to comment #20)
> > Created an attachment (id=88949)
 --> (https://bugs.webkit.org/attachment.cgi?id=88949&action=review) [details] [details]
> > Patch to fix a compile issue on Solaris 10 with Sun Studio 12, which includes <sys/time.h>, updated per bug comments
> 
> OK the patch is well structured. Looking at the patch, I still believe what I said before is correct:
> 
> "It looks like the failures for the QT and cr-linux builds are because the files which include the header must not have the define for OS(). I believe this is in config.h, so I would make sure those files include it.  (The may involve modified a script which generates some files.)"

The only time the QT and cr-linux tests failed were when I isolated the sys/time.h include with #if OS(SOLARIS), which failed because QT and cr-linux 
because the OS macro was not available there. 

> Specifically, I'm saying that the real problem is that there are cpp files which aren't doing #include "config.h" and fixing that is what should be done as opposed to including wtf/Platform.h

so including a "config.h" file which includes a pile of stuff is preferable to a surgical include with wtf/Platform.h?  Whatever.  I'll test your method and if it works, great, and I can be done with this patch and this disagreement.

> So I can't r+ this, but I'll leave this open (without an r- just in case some other reviewer really believes this is the correct way to address the issue).

I hope someone else can review and either confirm your suspicion or confirm my patch.

-- 
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