[Webkit-unassigned] [Bug 15114] New: Provide compile-time assertions for sizeof(UChar), sizeof(DeprecatedChar), etc.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 29 14:41:07 PDT 2007


           Summary: Provide compile-time assertions for sizeof(UChar),
                    sizeof(DeprecatedChar), etc.
           Product: WebKit
           Version: 522+ (nightly)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ddkilzer at webkit.org

The UChar and DeprecatedChar structs have implicit assumptions that they are
two bytes on all platforms.  It would be nice if there were compile-time
assertions that prevented the project from compiling if these assumptions are
ever violated.

A Google search yielded some solutions:

Compile Time Assertions in C (CVu 11.3)

Compile-Time Assertions & Debugging

Compile-Time Assertions

Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list