Bug 17567
| Summary: | FTBFS: trunk build fails on undefined min() | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Diego Escalante Urrelo <diegoe> |
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| 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
*** This bug has been marked as a duplicate of 17566 ***