Bug 17567 - FTBFS: trunk build fails on undefined min()
Summary: FTBFS: trunk build fails on undefined min()
Status: RESOLVED DUPLICATE of bug 17566
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Major
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-26 23:45 PST by Diego Escalante Urrelo
Modified: 2008-02-27 04:10 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Escalante Urrelo 2008-02-26 23:45:32 PST
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).
Comment 1 Robert Blaut 2008-02-27 04:10:47 PST

*** This bug has been marked as a duplicate of 17566 ***