[krbdev.mit.edu #8301] E: krb5 64bit-portability-issue ldap_principal2.c:687

Michael Ströder via RT rt-comment at krbdev.mit.edu
Wed Dec 9 12:46:25 EST 2015


openSUSE build service refuses to accept build of krb5-1.14 because of a wrong type:

[  154s] ldap_principal2.c:687:49: warning: passing argument 3 of
'krb5_prepend_error_message' makes pointer from integer without a cast
[-Wint-conversion]
[  154s]                      k5_prependmsg(context, ost, st, _("'%s' not found"),
[  154s]                                                  ^
[  154s] In file included from ../../../../include/krb5.h:8:0,
[  154s]                  from ../../../../include/k5-int.h:162,
[  154s]                  from kdb_ldap.h:35,
[  154s]                  from ldap_main.h:34,
[  154s]                  from ldap_principal2.c:35:
[  154s] ../../../../include/krb5/krb5.h:7857:1: note: expected 'const char *'
but argument is of type 'krb5_error_code {aka int}'




More information about the krb5-bugs mailing list