This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] support: Add TEST_COMPARE macro
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?