[PATCH] support: Add TEST_COMPARE macro
Paul Eggert
eggert@cs.ucla.edu
Mon Nov 27 18:33:00 GMT 2017
On 11/27/2017 10:06 AM, Florian Weimer wrote:
> I'm not certain about that at all—the *types* could well differ in
> signedness between architectures (as it is common for char).
char should not be a problem: on all glibc platforms, it's widened to
int before comparison, so its signedness is not relevant to the comparison.
Can you give an example of where compile-time checking would go awry?
More information about the Libc-alpha
mailing list