Compile error on k5-int.h with g++
jaltman at MIT.EDU
Sat May 29 18:37:28 EDT 2004
in the 1.3 branch krb5_donot_replay is declared in krb5.h but it is only
#define KRB5_PRIVATE is specified prior to its inclusion. If you are
k5-int.h you are using private interfaces and should #define KRB5_PRIVATE.
Jay Camp wrote:
>Compiler: g++ (GCC) 3.3.2 20031218 (Gentoo Linux 3.3.2-r5,
>I'm trying to develop a frontend for kadmin, so I'm just using kadmin.c
>as a reference and using all the header files it does.
>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 `*'
>Any thoughts? I was hoping you guys would have a better idea than I
>krbdev mailing list krbdev at mit.edu
More information about the krbdev