[Webkit-unassigned] [Bug 171010] New: Vector.h: error: 'auto' not allowed in lambda parameter

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 19 14:32:26 PDT 2017


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

            Bug ID: 171010
           Summary: Vector.h: error: 'auto' not allowed in lambda
                    parameter
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ddkilzer at webkit.org
                CC: bfulgham at webkit.org, fpizlo at apple.com
        Depends on: 170102, 170994

In file included from $(INSTALL_ROOT)/System/Library/Frameworks/WebKit.framework/PrivateHeaders/EnvironmentUtilities.h:29:
In file included from $(SDKROOT)/usr/local/include/wtf/text/WTFString.h:30:
In file included from $(SDKROOT)/usr/local/include/wtf/text/StringImpl.h:35:
$(SDKROOT)/usr/local/include/wtf/Vector.h:1526:47: error: 'auto' not allowed in lambda parameter
    return removeRepeatedElements(vector, [] (auto& a, auto& b) { return a == b; });
                                              ^~~~
$(SDKROOT)/usr/local/include/wtf/Vector.h:1526:56: error: 'auto' not allowed in lambda parameter
    return removeRepeatedElements(vector, [] (auto& a, auto& b) { return a == b; });
                                                       ^~~~
2 errors generated.

This code was committed in Bug 170102, but was triggered by a change in Bug 170994 that exposed EnvironmentUtilities.h as a private header in WebKit.framework.


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=170102
[Bug 170102] Air::Liveness shouldn't need HashSets
https://bugs.webkit.org/show_bug.cgi?id=170994
[Bug 170994] Stop using strcpy() in WebKit::EnvironmentUtilities::stripValuesEndingWithString()
-- 
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/20170419/19406fe9/attachment.html>


More information about the webkit-unassigned mailing list