[2308] in Kerberos_V5_Development

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

Re: [meeroh@MIT.EDU: __STDC__ stuff]

daemon@ATHENA.MIT.EDU (Ken Hornstein)
Mon Mar 17 17:48:24 1997

To: tytso@MIT.EDU
Cc: krbdev@MIT.EDU
In-Reply-To: Your message of "Mon, 17 Mar 1997 19:42:00 GMT."
             <199703171942.TAA00376@rsts-11.mit.edu> 
Date: Mon, 17 Mar 1997 17:45:52 -0500
From: Ken Hornstein <kenh@cmf.nrl.navy.mil>

>Can anyone see a problem with the changes which Meeroh suggested?  I'm
>not a C++ expert here.  I suspect it's a bad idea to just blindly wrap
>*all of krb5.h in the 'extern "C"' declaration, especially since we may
>#include system header files.  On the other hand, putting them around
>all of the function declarations in the krb5 header files might not be a
>bad idea.  Comments?

On many systems, this is already the standard practice (e.g. - Solaris,
HP/UX).  I'm not a C++ expert either, but I don't see how it can hurt.

--Ken

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