Bug 78506 - Use C11's _Static_assert for COMPILE_ASSERT if it is available
Summary: Use C11's _Static_assert for COMPILE_ASSERT if it is available
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Sam Weinig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-13 09:37 PST by Sam Weinig
Modified: 2012-02-13 09:48 PST (History)
0 users

See Also:


Attachments
Patch (2.08 KB, patch)
2012-02-13 09:42 PST, Sam Weinig
koivisto: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Weinig 2012-02-13 09:37:33 PST
Use C11's _Static_assert for COMPILE_ASSERT if it is available
Comment 1 Sam Weinig 2012-02-13 09:42:53 PST
Created attachment 126785 [details]
Patch
Comment 2 Sam Weinig 2012-02-13 09:43:40 PST
This will allow for nice error messages when using COMPILER_ASSERT.
Comment 3 Antti Koivisto 2012-02-13 09:45:25 PST
Comment on attachment 126785 [details]
Patch

rs=me
Comment 4 Sam Weinig 2012-02-13 09:48:16 PST
Committed r107581: <http://trac.webkit.org/changeset/107581>