bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: uint8_t and stdint.h


From: Paul Eggert
Subject: Re: uint8_t and stdint.h
Date: Sat, 2 Sep 2017 11:23:38 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

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 == 0xFF);

I suppose it wouldn't hurt.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]