More compile errors under DU

Tim Winders twinders at SPC.cc.tx.us
Sat May 23 17:14:42 GMT 1998


I just did a make clean and recompiled (CVS from 5/21) with -g3 flag and
received these compile warnings.  These didn't show up when I reported a
similar error before becuase these files didn't need to be updated...
This is under Digital Unix 4.0D

cc: Warning: lib/rpc/parse/parse_net.c, line 739: In this statement, &
before array "(id->lm_chal)" is ignored.
        memcpy(&(id->lm_chal), lm_challenge, sizeof(id->lm_chal));
---------------^
Compiling lib/rpc/parse/parse_reg.c
cc: Warning: lib/rpc/parse/parse_reg.c, line 145: In this statement, &
before array "(r_q->pad1)" is ignored.
        bzero(&(r_q->pad1), sizeof(r_q->pad1));
--------^
cc: Warning: lib/rpc/parse/parse_reg.c, line 150: In this statement, &
before array "(r_q->pad2)" is ignored.
        bzero(&(r_q->pad2), sizeof(r_q->pad2));
--------^
cc: Warning: lib/rpc/server/srv_lsa.c, line 42: In this statement, &
before array "(r_o.pol.data)" is ignored.
        bzero(&(r_o.pol.data), POL_HND_SIZE);
--------^
Compiling lib/rpc/server/srv_netlog.c
cc: Warning: lib/rpc/server/srv_netlog.c, line 347: In this statement, &
before array "(q_a.clnt_chal.data)" is ignored.
                memcpy(vuser->dc.clnt_cred.challenge.data, &(q_a.clnt_chal.data)
, sizeof(q_a.clnt_chal.data));
-----------------------------------------------------------^
cc: Warning: lib/rpc/server/srv_netlog.c, line 348: In this statement, &
before array "(q_a.clnt_chal.data)" is ignored.
                memcpy(vuser->dc.srv_cred.challenge.data, &(q_a.clnt_chal.data),
 sizeof(q_a.clnt_chal.data));
----------------------------------------------------------^
Compiling lib/rpc/server/srv_reg.c
cc: Warning: lib/rpc/server/srv_reg.c, line 41: In this statement, &
before array "(r_u.pol.data)" is ignored.
        bzero(&(r_u.pol.data), POL_HND_SIZE);
--------^


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);
-------------------------^

I know you said this last one my compiler is lying.  Does this have
anything to do with the Win95 password change code?

=== 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