Skip Menu |
 

Subject: sizeof type should be checked at compile time, not configure time
Mac fat binaries get built with one command invocation, for multiple
architectures. I think we're okay on endianness, but the gssapi code,
at least, uses some configure-time tests to determine type sizes and
thus choose the "right" 32-bit type.

I think we'll probably win on the Mac 64-bit platforms just because we
happen to do the tests in the right order, and int is probably right on
all of them, but it would be better if we tested the max-value macros
from the system headers, and got rid of the configure-time tests.
I think krb5.h is okay, since it tests limit macros, and the 64-bit
stuff tries to use [u]int64_t if possible...
I think this is fixed with rev 17813.