[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C++ keyword and krb5.h

Hirochika Shionoiri <hirochika.shionoiri@fujixerox.co.jp> writes:

> Hello,
> I'm trying to create C++ class library using Heimdal.
> but following problem has occured.
> The C++ keyword 'private' is used in krb5.h file as variable name of
> krb5_get_init_creds_opt structure.  This krb5.h is the one that compiles
> heimdal-0.7.1 binary code and was generated.  When compiling the own C++
> code using compiler(gcc-3.4.2) ,the error was occurred.
> Are there the method that avoid this problem, when the binary code of
> Heimdal is compiled ?  or would it be possible, not use the C++ keywords
> in header?

This is fixed on head and the 0.7 release branch. The fix will be included
in the upcoming 0.7.2 release.


PGP signature