[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
http://bugs.webkit.org/show_bug.cgi?id=15114
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
* SUMMARY
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.
* NOTES
A Google search yielded some solutions:
Compile Time Assertions in C (CVu 11.3)
http://www.jaggersoft.com/pubs/CVu11_3.html
Compile-Time Assertions & Debugging
http://www.ddj.com/development-tools/184402051
Compile-Time Assertions
http://www.ddj.com/architect/184401873
--
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