[Webkit-unassigned] [Bug 113308] New: Support C++11 static_assert

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 26 07:18:01 PDT 2013


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

           Summary: Support C++11 static_assert
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: allan.jensen at digia.com


When available we use the Clang extension _Static_assert for compile assertion since this is just a C version of the C++11 static assert we should use the C++11 version when possible.

Note this is not always possible since Assertions.h where COMPILE_ASSERT is defined can be used from both C and C++, and COMPILE_ASSERT will therefore still not be available in C for non clang compilers.

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