[456] in Kerberos_V5_Development

home help back first fref pref prev next nref lref last post

Re: Narrow vs. Wide function prototypes

tytso@ATHENA.MIT.EDU (tytso@ATHENA.MIT.EDU)
Tue Nov 20 16:06:10 1990

I agree with Bill.... given that the imake configures aren't documented
anywhere, I can just see someone changing the wide/narrow define, and
all of a sudden he'll get wierd coredumps when he links against a
library which has narrow types while his .o files are passing wide
types, or vice versa.

There are enough ways that you can hang yourself when trying to build
Kerberos 5.  (For example, Jon discovered one just recently when the RT
build tree isn't configured for normal Athena workstations... oops.)
Let's not add another one. 

But if we must do this (and I don't see any reason why we should --- my
personal opinion is that this whole ANSI notion of passing arouind
narrowed types is a bad idea) then we'd better have big, huge warnings
in all caps, bold face type --- and expect people to get it wrong
anyway.

home help back first fref pref prev next nref lref last post