[Webkit-unassigned] [Bug 54807] Always explicitly use "signed" keyword to declare signed bitfields

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 22 08:37:46 PST 2011


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





--- Comment #12 from Yong Li <yong.li.webkit at gmail.com>  2011-02-22 08:37:45 PST ---
More information: This thing is addressed in RVCT 4.0 Compiler Reference Guide:

http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0348c/Babjddhe.html

"A plain bitfield, declared without either signed or unsigned qualifiers, is treated as unsigned. For example, int x:10 allocates an unsigned integer of 10 bits."

However, there is also flags like "--signed-bitfields" to change the behavior.

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