[2552] in Kerberos_V5_Development
Re: Prototype hell
daemon@ATHENA.MIT.EDU (Tom Yu)
Fri Oct 10 15:33:20 1997
Date: Fri, 10 Oct 1997 15:32:45 -0400
To: Assar Westerlund <assar@sics.se>
Cc: Ken Hornstein <kenh@cmf.nrl.navy.mil>, krbdev@MIT.EDU
From: Tom Yu <tlyu@MIT.EDU>
In-Reply-To: <5lzpohigg3.fsf@assaris.sics.se>
>>>>> "assar" == Assar Westerlund <assar@sics.se> writes:
assar> - Our code doesn't depend on sizeof(int32_t) == 4. Rather it
assar> uses int32_t as a type that's able to store at least 32 bits.
assar> That's important on Crays and some other strange architectures,
assar> as you have seen.
Yes... I'm going to start working on fixing the sizeof (krb5_int32) ==
4 assumptions here in the MTI tree.
assar> - It also requires an ANSI compiler to build. If don't have
assar> any (quite unusual these days) and worry about it I think using
assar> ansi2knr or unproto or something similar is the right way. The
assar> include files that are used by other programs use __P so you
assar> should be able to build K&R programs and link with our library.
Do you require that all functions take wide types as arguments? That
would go quite a ways towards allowing people to use K&R compilers to
compile with the kerberos headers and link with the library.
---Tom