On Tue, 26 Jul 2016, Warren D Smith wrote:

> > Only sizes which are an integer number of bytes with no padding bits.
> 
> wikipedia:

Wikipedia is not the standard (and, to be clear, C99 before TC3 had 
various defects in the <stdint.h> specification as well, so you should not 
refer to pre-TC3 versions for understanding <stdint.h> requirements).  
C11 6.2.6.1#2 and #4 require that non-bit-fields have an integer number of 
bytes and consist of n*CHAR_BIT bits, and 7.20.1.1#1 and #2 require the 
absence of padding bits in intN_t and uintN_t.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to