[Webkit-unassigned] [Bug 120983] New: gtest fails to build due to integer type mismatch in WTF::insertIntoBoundedVector()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 7 18:03:39 PDT 2013


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

           Summary: gtest fails to build due to integer type mismatch in
                    WTF::insertIntoBoundedVector()
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ddkilzer at webkit.org
                CC: andersca at apple.com


When gtest builds for the Debug configuration, I see the following error:

WebKitBuild/Debug/usr/local/include/wtf/StdLibExtras.h:266:23: error: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int' [-Werror,-Wshorten-64-to-32]
for (unsigned i = size; i-- > index + 1;)
              ~   ^~~~
1 error generated.

-- 
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