[1979] in Kerberos-V5-bugs
Compilation warning messages
daemon@ATHENA.MIT.EDU (Chua Chek Chay)
Mon Jun 10 23:22:28 1996
Date: Tue, 11 Jun 1996 10:26:06 +0800 (SST)
From: Chua Chek Chay <ccc@cherry.teleview.com.sg>
To: krb5-bugs@MIT.EDU
Hi,
I received the following compilation warnings messages on a Dec Alpha
station running Digital Unix Version 3.2c.
For your info.
regards,
Chek Chay
email: ccc@teleview.com.sg
/usr/lib/cmplrs/cc/cfe: Warning: ./init_rkey.c, line 106: Incompatible pointer type assignment
seed.data = seedblock->contents;
--------------^
/usr/lib/cmplrs/cc/cfe: Warning: ./init_rkey.c, line 131: Incompatible pointer type assignment
seed.data = new_key->contents;
--------------^
/usr/lib/cmplrs/cc/cfe: Warning: ./init_rkey.c, line 147: Incompatible pointer type assignment
seed.data = new_key->contents;
--------------^
/usr/lib/cmplrs/cc/cfe: Warning: ./new_rnd_key.c, line 135: Incompatible pointer type assignment
sequence.data = (krb5_octet *)new_sequence_number;
------------------^
/usr/lib/cmplrs/cc/cfe: Warning: keytab.c, line 113: Incompatible pointer type assignment
krb5_dbm_db_get_mkey(context, id->ops, &master_key);
------------------------------------^
/usr/lib/cmplrs/cc/cfe: Warning: kdc_preauth.c, line 351: Incompatible pointer type assignment
scratch.data = pa->contents;
-----------------^
/usr/lib/cmplrs/cc/cfe: Warning: kdc_preauth.c, line 461: Incompatible pointer type assignment
entry[i]->salt = salt.data;
---------------^
/usr/lib/cmplrs/cc/cfe: Warning: kdc_preauth.c, line 479: Incompatible pointer type assignment
pa_data->contents = scratch->data;
----------------------^
/usr/lib/cmplrs/cc/cfe: Warning: kdc_preauth.c, line 651: Incompatible pointer type assignment
retval = krb5_db_get_principal(kdc_active_realm->realm_context, newp, &assoc, &npr, &more);
------------------------------------------------------------------------------------^
/usr/lib/cmplrs/cc/cfe: Warning: kdc_preauth.c, line 753: Incompatible pointer type assignment
pa_data->contents = scratch->data;
------------------------^
/usr/lib/cmplrs/cc/cfe: Warning: kdc_preauth.c, line 896: Incompatible pointer type assignment
pa_data->contents = scratch->data;
------------------------^
/usr/lib/cmplrs/cc/cfe: Warning: kdc_preauth.c, line 924: Incompatible pointer type assignment
scratch.data = pa->contents;
-----------------^
/usr/lib/cmplrs/cc/cfe: Warning: dump.c, line 1015: Incompatible pointer type assignment
char *shortcopy = (krb5_octet *) malloc(shortlen);
------------^
/usr/lib/cmplrs/cc/cfe: Warning: dump.c, line 1016: Incompatible pointer type assignment
char *origdata = pkey->key_data_contents[0];
------------^
/usr/lib/cmplrs/cc/cfe: Warning: dump.c, line 1022: Incompatible pointer type assignment
pkey->key_data_contents[0] = shortcopy;
---------------------------------^
/usr/lib/cmplrs/cc/cfe: Warning: dump.c, line 1085: Incompatible pointer type assignment
char *shortcopy = (krb5_octet *) malloc(shortlen);
------------^
/usr/lib/cmplrs/cc/cfe: Warning: dump.c, line 1086: Incompatible pointer type assignment
char *origdata = akey->key_data_contents[0];
------------^
/usr/lib/cmplrs/cc/cfe: Warning: dump.c, line 1092: Incompatible pointer type assignment
akey->key_data_contents[0] = shortcopy;
---------------------------------^
/usr/lib/cmplrs/cc/cfe: Warning: loadv4.c, line 493: & before array or function: ignored
des_pcbc_encrypt((des_cblock *) &key_from_db,
--------------------------------^
/usr/lib/cmplrs/cc/cfe: Warning: loadv4.c, line 494: & before array or function: ignored
(des_cblock *) &key_from_db,
--------------------^
/usr/lib/cmplrs/cc/cfe: Warning: loadv4.c, line 540: & before array or function: ignored
des_pcbc_encrypt((des_cblock *) &v4key,
------------------------------------^
/usr/lib/cmplrs/cc/cfe: Warning: loadv4.c, line 541: & before array or function: ignored
(des_cblock *) &v4key,
----------------^
/usr/lib/cmplrs/cc/cfe: Warning: krshd.c, line 1812: Incompatible pointer type assignment
ticket->enc_part2->session->contents,
--------------------------------^
/usr/lib/cmplrs/cc/cfe: Warning: krlogind.c, line 1514: Incompatible pointer type assignment
ticket->enc_part2->session->contents,
--------------------------------^
/usr/lib/cmplrs/cc/cfe: Warning: kerberos5.c, line 305: & before array or function: ignored
check_data.data = (char *) &type_check;
---------------------------^
/usr/lib/cmplrs/cc/cfe: Warning: kerberos5.c, line 454: & before array or function: ignored
&type_check, 2, key->contents,
-----^
/usr/lib/cmplrs/cc/cfe: Warning: /usr/include/unistd.h:173: Macro _POSIX_VDISABLE redefined.
/usr/lib/cmplrs/cc/cfe: Warning: /usr/include/unistd.h:173: Macro _POSIX_VDISABLE redefined.