[Webkit-unassigned] [Bug 56463] New: [Qt] TextBreakIteratorQt.cpp missing #include <algorithm> needed for some platforms.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Mar 16 08:16:17 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=56463
Summary: [Qt] TextBreakIteratorQt.cpp missing #include
<algorithm> needed for some platforms.
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Other
Status: UNCONFIRMED
Severity: Normal
Priority: P3
Component: WebKit Qt
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: keith.kyzivat at nokia.com
CC: laszlo.1.gombos at nokia.com, yi.4.shen at nokia.com
On some Qt-powered devices, std::swap is unable to be found unless the <algorithm> header is included, in the case of TextBreakIteratorQt.cpp.
On Mac, this is appears to be accomplished by a universally included common header, but Qt does not use this.
../../../webkit/Source/WebCore/platform/text/qt/TextBreakIteratorQt.cpp: In function 'WebCore::TextBreakIterator* WebCore::acquireLineBreakIterator(const UChar*, int)':
../../../webkit/Source/WebCore/platform/text/qt/TextBreakIteratorQt.cpp:92: error: 'swap' is not a member of 'std'
make[1]: *** [obj/release/TextBreakIteratorQt.o] Error 1
--
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