Re: uint8_t and stdint.h

2017-09-02 Thread Paul Eggert
Bruno Haible wrote: On all platform we've tested on, since 2006, this worked fine. Ah, I didn't see that. You're right, it's testing for POSIX, not just the C standard. Hmm, should we make this test stronger by verifying that uint8_t is really exactly 8 bits wide? verify (UINT8_MAX == 0x

Re: uint8_t and stdint.h

2017-09-02 Thread Bruno Haible
Hi Paul, > >- Whether C99 requires it or not, does not matter here: The 'glob' > > module depends on 'stdint', and the 'stdint' module provides > > uint8_t unconditionally (for several years already). > > gl_STDINT_H's tests of uint8_t all depend on UINT8_MAX being defined, which >