compile errors/warnings in HEAD branch
Luke Kenneth Casson Leighton
lkcl at switchboard.net
Tue Dec 8 07:28:14 EST 1998
these warnings are all here to remind me to make make_unistr2 char* a
const char* instead.
On Tue, 8 Dec 1998, Herb Lewis wrote:
> Compiling rpc_parse/parse_lsa.c
> "rpc_parse/parse_lsa.c", line 689: warning(1164): argument of type
> "const char *" is incompatible with parameter of type "char *"
> make_unistr2(&q_l->uni_name[i], names[i], len);
> ^
>
> Compiling rpc_parse/parse_samr.c
> "rpc_parse/parse_samr.c", line 1345: warning(1164): argument of type
> "const char *" is incompatible with parameter of type "char *"
> make_unistr2(&(gr4->uni_acct_desc), acct_desc, acct_len);
> ^
>
> "rpc_parse/parse_samr.c", line 1416: warning(1164): argument of type
> "const char *" is incompatible with parameter of type "char *"
> make_unistr2(&(q_e->uni_acct_desc), acct_desc, acct_len);
> ^
>
> "rpc_parse/parse_samr.c", line 2314: warning(1164): argument of type
> "const char *" is incompatible with parameter of type "char *"
> make_unistr2(&(al3->uni_acct_desc), acct_desc, acct_len);
> ^
>
> "rpc_parse/parse_samr.c", line 2887: warning(1164): argument of type
> "const char *" is incompatible with parameter of type "char *"
> make_unistr2(&(q_u->uni_acct_desc), acct_desc, acct_len);
> ^
>
> "rpc_parse/parse_samr.c", line 3222: warning(1164): argument of type
> "const char *" is incompatible with parameter of type "char *"
> make_unistr2(&(q_u->uni_name[i]), name[i], len_name);
> /* unicode string for machine account */
> ^
>
> Compiling lib/util.c
> "lib/util.c", line 2427: warning(1164): argument of type "const char *"
> is
> incompatible with parameter of type "char *"
> struct passwd *pass = Get_Pwnam(name, False);
> ^
>
> Compiling lib/util_sock.c
> don't know how to make lib/unix_sec_ctxt.c (bu42).
> Error 1 building sources
oops, added this in now.
More information about the samba-cvs
mailing list