[Webkit-unassigned] [Bug 171733] New: std::min used without including algorithm

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 5 09:55:48 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=171733

            Bug ID: 171733
           Summary: std::min used without including algorithm
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: lantw44 at gmail.com

This causes compilation error on FreeBSD:

In file included from /path/to/WebKit/Source/WebCore/html/track/VTTScanner.cpp:31:
In file included from /path/to/WebKit/Source/WebCore/html/track/VTTScanner.h:32:
In file included from /path/to/WebKit/Source/WebCore/html/parser/ParsingUtilities.h:33:
/path/to/WebKit/Source/WTF/wtf/text/StringCommon.h:482:21: error: no member named 'min' in namespace 'std'
        return std::min(startOffset, sourceStringLength);
               ~~~~~^
/path/to/WebKit/Source/WTF/wtf/text/StringCommon.h:567:21: error: no member named 'min' in namespace 'std'
        return std::min(start, haystack.length());
               ~~~~~^
2 errors generated.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170505/29c2e4ea/attachment.html>


More information about the webkit-unassigned mailing list