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

C++ keyword and krb5.h



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?

Thank you,
best regards,

hirochika shionoiri