Compile warnings.

Eddie Lania e.lania at elton.nl
Wed Oct 2 08:16:00 GMT 2002


Compiled from cvs on 2 October 2002 at 09:48h CET.

RedHat 7.0 kernel, 2.2.19-7.0.16
openldap-2.0.21-0.7.1
nss_ldap-189-1.7
krb5-libs-1.2.2-14
krb5-devel-1.2.2-14
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-85)

Configure options used:

--sbindir=/usr/local/samba/bin \
--with-logfilebase=/var/log/samba \
--with-krb5=/usr/kerberos \
--with-smbmount \
--with-pam \
--with-acl-support

Warnings:

Compiling smbd/mangle_hash2.c
smbd/mangle_hash2.c: In function `cache_insert':
smbd/mangle_hash2.c:172: warning: assignment makes pointer from integer
without a cast
smbd/mangle_hash2.c: In function `is_mangled':
smbd/mangle_hash2.c:263: warning: initialization makes pointer from integer
without a cast

Compiling libsmb/clispnego.c
libsmb/clispnego.c: In function `spnego_gen_negTokenTarg':
libsmb/clispnego.c:330: warning: passing arg 1 of `krb5_get_ticket' discards
qualifiers from pointer target type

Compiling passdb/secrets.c
passdb/secrets.c: In function `secrets_fetch':
passdb/secrets.c:61: warning: assignment discards qualifiers from pointer
target type
passdb/secrets.c: In function `secrets_store':
passdb/secrets.c:77: warning: assignment discards qualifiers from pointer
target type
passdb/secrets.c:79: warning: assignment discards qualifiers from pointer
target type
passdb/secrets.c: In function `secrets_delete':
passdb/secrets.c:93: warning: assignment discards qualifiers from pointer
target type
passdb/secrets.c: In function `secrets_lock_trust_account_password':
passdb/secrets.c:218: warning: passing arg 2 of `tdb_lock_bystring' discards
qualifiers from pointer target type
passdb/secrets.c:220: warning: passing arg 2 of `tdb_unlock_bystring'
discards qualifiers from pointer target type
passdb/secrets.c: In function `secrets_get_trusted_domains':
passdb/secrets.c:509: warning: assignment makes pointer from integer without
a cast
passdb/secrets.c: In function `secrets_named_mutex':
passdb/secrets.c:610: warning: passing arg 1 of `tdb_set_lock_alarm'
discards qualifiers from pointer target type

Compiling lib/util_str.c
lib/util_str.c: In function `str_list_make':
lib/util_str.c:1160: warning: passing arg 3 of `next_token' discards
qualifiers from pointer target type

Compiling lib/util.c
lib/util.c: In function `smb_xstrndup':
lib/util.c:1832: warning: initialization makes pointer from integer without
a cast

Compiling lib/gencache.c
lib/gencache.c: In function `gencache_get':
lib/gencache.c:248: warning: initialization makes pointer from integer
without a cast
lib/gencache.c: In function `gencache_iterate':
lib/gencache.c:303: warning: assignment makes pointer from integer without a
cast

Compiling libads/ldap.c
libads/ldap.c: In function `ads_do_paged_search':
libads/ldap.c:443: warning: passing arg 2 of `str_list_copy' from
incompatible pointer type
libads/ldap.c: In function `ads_do_search':
libads/ldap.c:669: warning: passing arg 2 of `str_list_copy' from
incompatible pointer type

Compiling libads/ldap_printer.c
libads/ldap_printer.c: In function `ads_mod_printer_entry':
libads/ldap_printer.c:80: warning: passing arg 4 of `ads_mod_strlist' from
incompatible pointer type
libads/ldap_printer.c:96: warning: passing arg 4 of `ads_mod_strlist' from
incompatible pointer type
libads/ldap_printer.c:99: warning: passing arg 4 of `ads_mod_strlist' from
incompatible pointer type

Compiling libads/kerberos.c
libads/kerberos.c: In function `kerberos_kinit_password':
libads/kerberos.c:80: warning: passing arg 6 of
`krb5_get_init_creds_password' discards qualifiers from pointer target type

Compiling utils/net_ads.c
utils/net_ads.c: In function `net_ads_printer_info':
utils/net_ads.c:722: warning: passing arg 4 of `ads_find_printer_on_server'
discards qualifiers from pointer target type
utils/net_ads.c: In function `net_ads_printer_publish':
utils/net_ads.c:774: warning: assignment discards qualifiers from pointer
target type
utils/net_ads.c: In function `net_ads_printer_remove':
utils/net_ads.c:812: warning: assignment discards qualifiers from pointer
target type

Compiling utils/net_cache.c
utils/net_cache.c: In function `parse_timeout':
utils/net_cache.c:85: warning: assignment makes pointer from integer without
a cast






More information about the samba-technical mailing list