[Webkit-unassigned] [Bug 154794] New: SVGToOTFFontConversion.cpp does not compile with libstdc++ 4.8

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 28 09:15:01 PST 2016


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

            Bug ID: 154794
           Summary: SVGToOTFFontConversion.cpp does not compile with
                    libstdc++ 4.8
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: annulen at yandex.ru

Error message produced by clang 3.7 (g++ 4.8 also produces error, but message is less readable):

/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_algo.h:2266:11: error: no matching function for call to object of type '(lambda at ../../../Source/WebCore/svg/SVGToOTFFontConversion.cpp:756:59)'
   while (__comp(__pivot, *__last))
          ^~~~~~
../../../Source/WebCore/svg/SVGToOTFFontConversion.cpp:756:59: note: candidate function not viable: 1st argument ('const std::pair<WTF::Vector<unsigned short, 3, WTF::CrashOnOverflow, 16>, unsigned short>') would lose const qualifier
    std::sort(ligaturePairs.begin(), ligaturePairs.end(), [](LigaturePair& lhs, LigaturePair& rhs) {
                                                          ^
../../../Source/WebCore/svg/SVGToOTFFontConversion.cpp:756:59: note: conversion candidate of type 'bool (*)(LigaturePair &, LigaturePair &)'

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


More information about the webkit-unassigned mailing list