[2550] in Kerberos_V5_Development
Re: Prototype hell
daemon@ATHENA.MIT.EDU (Assar Westerlund)
Fri Oct 10 15:09:28 1997
To: Ken Hornstein <kenh@cmf.nrl.navy.mil>
Cc: krbdev@MIT.EDU
From: Assar Westerlund <assar@sics.se>
Date: 10 Oct 1997 21:08:44 +0200
In-Reply-To: Ken Hornstein's message of "Fri, 10 Oct 1997 13:25:39 -0400"
Ken Hornstein <kenh@cmf.nrl.navy.mil> writes:
> While I mean no disrespect to the good fellows at KTH ... I pretty much
> need the MIT sources to work (I have a bunch of wacky stuff I've added
> that is essential for a larger project).
Ok, in that case I will explain what we've done (and thus believe that
you should as well... :-)
- Our code doesn't depend on sizeof(int32_t) == 4. Rather it uses
int32_t as a type that's able to store at least 32 bits. That's
important on Crays and some other strange architectures, as you have
seen.
- It also requires an ANSI compiler to build. If don't have any
(quite unusual these days) and worry about it I think using ansi2knr
or unproto or something similar is the right way. The include files
that are used by other programs use __P so you should be able to build
K&R programs and link with our library.
/assar