[Webkit-unassigned] [Bug 123562] New: REGRESSION(r158348): Breaks Debug build

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 31 01:44:07 PDT 2013


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

           Summary: REGRESSION(r158348): Breaks Debug build
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: naginenis at gmail.com


Compilation fails in debug due to 'comparison of unsigned expression >= 0 is always true'.

WebKit/Source/WebCore/Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp: In member function ‘virtual bool WebCore::IDBBackingStoreLevelDB::updateIDBDatabaseVersion(WebCore::IDBBackingStoreInterface::Transaction&, int64_t, uint64_t)’:
WebKit/Source/WebCore/Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp:599:25: error: comparison of unsigned expression >= 0 is always true [-Werror=type-limits]

The following assert is causing the failure.
> http://trac.webkit.org/browser/trunk/Source/WebCore/Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp#L599
ASSERT_WITH_MESSAGE(version >= 0, "version was %llu", static_cast<unsigned long long>(version));

the assert can probably just be dropped, since the database versions are uint64_t now.

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