[Webkit-unassigned] [Bug 57352] New: Style Checker should prevent enums in bitfields

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 29 09:41:34 PDT 2011


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

           Summary: Style Checker should prevent enums in bitfields
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://rogerkarlsson.com/blogs/programming/enum-bit-fi
                    eld-visual-studio/
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: leviw at chromium.org
                CC: eric at webkit.org, levin at chromium.org,
                    leviw at chromium.org


MSVC 8.0 has a bug where enums in bitfields are treated as signed, which causes the value when you read them back out to be incorrect (see description in link).

The style checker should prevent us from falling in this hole like I almost did.

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