WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
17566
FTBFS: trunk build fails on undefined min()
https://bugs.webkit.org/show_bug.cgi?id=17566
Summary
FTBFS: trunk build fails on undefined min()
Diego Escalante Urrelo
Reported
2008-02-26 23:45:31 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).
Attachments
Add attachment
proposed patch, testcase, etc.
Robert Blaut
Comment 1
2008-02-27 04:10:47 PST
***
Bug 17567
has been marked as a duplicate of this bug. ***
Alexey Proskuryakov
Comment 2
2008-02-27 09:55:40 PST
Fixed by Adam Roben in <
http://trac.webkit.org/projects/webkit/changeset/30623
>.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug