Bug 17566
Summary: | FTBFS: trunk build fails on undefined min() | ||
---|---|---|---|
Product: | WebKit | Reporter: | Diego Escalante Urrelo <diegoe> |
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Major | ||
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | Linux |
Diego Escalante Urrelo
WebKit/gtk/webkit/webkitwebframe.cpp: In member function 'void PrintContext::computePageRects(const WebCore::FloatRect&, float, float, float, float&)':
WebKit/gtk/webkit/webkitwebframe.cpp:557: error: 'min' was not declared in this scope
make[1]: *** [WebKit/gtk/webkit/libWebKitGtk_la-webkitwebframe.lo] Error 1
make[1]: Leaving directory `/home/diego/gnome/src/webkit'
make: *** [all] Error 2
Prefixing min() and max() in that file with std:: fixes the problem (or at least it's building right now).
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Robert Blaut
*** Bug 17567 has been marked as a duplicate of this bug. ***
Alexey Proskuryakov
Fixed by Adam Roben in <http://trac.webkit.org/projects/webkit/changeset/30623>.