svn rev #23092: trunk/src/include/

Tom Yu tlyu at MIT.EDU
Sun Nov 1 10:12:29 EST 2009

"ghudson at MIT.EDU" <ghudson at MIT.EDU> writes:

> Commit By: ghudson
> Log Message:
> Add a couple of krb5_data convenience constructor functions, to
> facilitate properly initializing krb5_data objects.  Adjust formatting
> of the existing krb5_data convenience functions and remove the #if 0
> block.

The new make_data() inline function causes a compilation failure in
test_cxx_k5int.cpp, as apparently, in C++, pointers to void require
explicit casts when assigning to/from other pointer types.  We could
add an unconditional explicit cast, or possibly do something
conditionalized on __cplusplus.

More information about the krbdev mailing list