Compile error on k5-int.h with g++

Ken Raeburn raeburn at MIT.EDU
Sat May 29 21:02:17 EDT 2004


On May 29, 2004, at 17:21, Jay Camp wrote:
> However, g++ seems to have a problem with a file in krb5:
> In file included from kerberos.cc:2:
> ../lib/krb5/src/include/k5-int.h:1816: error: type specifier omitted 
> for
>    parameter `krb5_donot_replay'
> ../lib/krb5/src/include/k5-int.h:1816: error: parse error before `*'
> token

The type krb5_donot_replay is defined in krb5.h if KRB5_PRIVATE is 
defined (which should normally be the case only when building inside 
the krb5 source tree, and that's how kadmin is built).  Note that if 
you're using these internal APIs, a future release may break your 
application, and internal changes generally aren't written up in our 
release notes.

Ken



More information about the krbdev mailing list