errors compiling under DU4.0D
Tim Winders
twinders at SPC.cc.tx.us
Thu May 21 05:15:24 GMT 1998
I just downloaded the CVS source (12:00AM CST, 5/21/98) and received these
errors during compile: (under Digital Unix 4.0D)
cc: Warning: lib/rpc/server/srv_samr.c, line 110: In this statement, &
before array "(r_u.pol.data)" is ignored.
bzero(&(r_u.pol.data), POL_HND_SIZE);
--------^
cc: Warning: lib/rpc/server/srv_samr.c, line 798: In this statement, &
before array "(r_u.user_pol.data)" is ignored.
bzero(&(r_u.user_pol.data), POL_HND_SIZE);
--------^
cc: Warning: lib/rpc/server/srv_samr.c, line 1108: In this statement, &
before array "(r_u.pol.data)" is ignored.
bzero(&(r_u.pol.data), POL_HND_SIZE);
--------^
Compiling passdb.c
cc: Warning: passdb.c, line 814: In this statement, & before array "fline"
is ignored.
if(read(fd, &fline, sizeof(fline) -1 ) < 0) {
--------------^
cc: Warning: smbpass.c, line 256: In this statement, the referenced type
of the pointer value "p" is "unsigned char", which is not compatible with
"signed char"
..
pw_buf.acct_ctrl = pdb_decode_acct_ctrl(p);
-------------------------^
cc: Warning: smbpass.c, line 478: In this statement, the referenced type
of the pointer value "(char ...)malloc(...)" is "signed char", which is
not compatible with "unsigned char".
if((new_entry = (char *)malloc( new_entry_length )) == NULL) {
------^
Everything seems to run OK, so I don't know if I should ignore these
errors or what exactly they mean...
=== Tim
---------------------------------------------------------------------
| Tim Winders, CNE, MCSE | Email: TWinders at SPC.cc.tx.us |
| Network Administrator | Phone: 806-894-9611 x 2369 |
| South Plains College | Fax: 806-897-4711 |
---------------------------------------------------------------------
More information about the samba-ntdom
mailing list