[Webkit-unassigned] [Bug 265676] New: Fix Lexer build with -Werror=type-limits

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 1 09:07:18 PST 2023


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

            Bug ID: 265676
           Summary: Fix Lexer build with -Werror=type-limits
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: olivier.blin at softathome.com
                CC: darin at apple.com

After 271373 at main which uses char32_t instead of UChar32, build of Lexer.cpp is broken with -Werror=type-limits:
Source/JavaScriptCore/parser/Lexer.cpp:905:22: error: comparison of unsigned expression in ‘>= 0’ is always true [-Werror=type-limits]

This assert should be removed:
ASSERT(codePoint >= 0)

-- 
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/20231201/380b335a/attachment-0001.htm>


More information about the webkit-unassigned mailing list