[cfe-dev] On sizeof char, bytes, and bits in the C99 standard

Chris Lattner clattner at apple.com
Fri Jan 2 11:27:25 PST 2009


On Jan 2, 2009, at 8:47 AM, Török Edwin wrote:
> Ok, so I may assume that on any POSIX compliant platform CHAR_BITS  
> is 8?
> (POSIX requires (u)int8_t:
> http://www.opengroup.org/onlinepubs/000095399/basedefs/stdint.h.html)

I think that it is safe to say that Clang should only care about 8-bit  
bytes until someone comes along with a machine that has a non-8-bit  
byte and is willing to do the work to enhance it...

-Chris



More information about the cfe-dev mailing list