[Webkit-unassigned] [Bug 146414] New: Compile warning (-Wsign-compare) on 32-bits at WebCore/platform/FileSystem.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 29 11:55:19 PDT 2015


            Bug ID: 146414
           Summary: Compile warning (-Wsign-compare) on 32-bits at
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: clopez at igalia.com
                CC: darin at apple.com, youennf at gmail.com

When building WebKitGTK+ on Linux/32-bits the following warning appears:

[2644/5687] Building CXX object Source/WebCore/CMakeFiles/WebCore.dir/platform/FileSystem.cpp.o
../../Source/WebCore/platform/FileSystem.cpp: In constructor ‘WebCore::MappedFileData::MappedFileData(const WTF::String&, bool&)’:
../../Source/WebCore/platform/FileSystem.cpp:154:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (fileStat.st_size < 0 || fileStat.st_size > std::numeric_limits<unsigned>::max()) {


bug 101458 can give some hints about the issue.

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/20150629/0486ad45/attachment.html>

More information about the webkit-unassigned mailing list