Warnings during build of cvs version

Steve Kennedy steve at gbnet.org
Sun Sep 2 13:51:31 GMT 2001


Solaris 2.7 Sun Forte C, CVS version as of 02/09/01 (about 10am UK)

Compiling passdb/secrets.c
"passdb/secrets.c", line 239: warning: argument #2 is incompatible with prototype:
        prototype: pointer to unsigned int : "passdb/secrets.c", line 57
        argument : pointer to int
Compiling nsswitch/wb_common.c
"nsswitch/wb_common.c", line 40: warning: improper pointer/integer combination: op "="

Compiling smbd/quotas.c
"smbd/quotas.c", line 292: warning: argument #2 is incompatible with prototype:
        prototype: pointer to int : "/usr/include/rpc/xdr.h", line 340
        argument : pointer to unsigned int
"smbd/quotas.c", line 296: warning: argument #2 is incompatible with prototype:
        prototype: pointer to int : "/usr/include/rpc/xdr.h", line 340
        argument : pointer to unsigned int
"smbd/quotas.c", line 300: warning: argument #2 is incompatible with prototype:
        prototype: pointer to int : "/usr/include/rpc/xdr.h", line 340
        argument : pointer to unsigned int

Compiling nsswitch/winbindd_user.c
"nsswitch/winbindd_user.c", line 141: warning: argument #3 is incompatible with prototype:
        prototype: pointer to enum SID_NAME_USE {SID_NAME_UNKNOWN(8), SID_NAME_INVALID(7), SID_NAME_DELETED(6), SID_NAME_WKN_GRP(5), SID_NAME_ALIAS(4), SID_NAME_DOMAIN(3), SID_NAME_DOM_GRP(2), SID_NAME_USER(1), SID_NAME_USE_NONE(0)} : "nsswitch/winbindd_proto.h", line 119
        argument : pointer to unsigned int

Compiling nsswitch/winbindd_idmap.c
"nsswitch/winbindd_idmap.c", line 139: warning: argument #3 is incompatible with prototype:
        prototype: pointer to int : "nsswitch/winbindd_idmap.c", line 71
        argument : pointer to long
"nsswitch/winbindd_idmap.c", line 147: warning: argument #3 is incompatible with prototype:
        prototype: pointer to int : "nsswitch/winbindd_idmap.c", line 71
        argument : pointer to long

Compiling nsswitch/winbindd_util.c
"nsswitch/winbindd_util.c", line 628: warning: argument #6 is incompatible with prototype:
        prototype: pointer to pointer to unsigned int : "include/proto.h", line 1732
        argument : pointer to pointer to enum SID_NAME_USE {SID_NAME_UNKNOWN(8), SID_NAME_INVALID(7), SID_NAME_DELETED(6), SID_NAME_WKN_GRP(5), SID_NAME_ALIAS(4), SID_NAME_DOMAIN(3), SID_NAME_DOM_GRP(2), SID_NAME_USER(1), SID_NAME_USE_NONE(0)}
"nsswitch/winbindd_util.c", line 837: warning: syntax error:  empty declaration

Compiling lib/readline.c
"lib/readline.c", line 52: warning: assignment type mismatch:
        pointer to function(pointer to const char, int, int) returning pointer to pointer to char "=" pointer to function(pointer to char, int, int) returning pointer to pointer to char

Compiling nsswitch/winbind_nss.c with -KPIC
"nsswitch/winbind_nss.c", line 377: warning: argument #4 is incompatible with prototype:
        prototype: pointer to int : "nsswitch/winbind_nss.c", line 116
        argument : pointer to unsigned int
"nsswitch/winbind_nss.c", line 428: warning: argument #4 is incompatible with prototype:
        prototype: pointer to int : "nsswitch/winbind_nss.c", line 116
        argument : pointer to unsigned int
"nsswitch/winbind_nss.c", line 441: warning: argument #4 is incompatible with prototype:
        prototype: pointer to int : "nsswitch/winbind_nss.c", line 116
        argument : pointer to unsigned int
"nsswitch/winbind_nss.c", line 491: warning: argument #4 is incompatible with prototype:
        prototype: pointer to int : "nsswitch/winbind_nss.c", line 116
        argument : pointer to unsigned int
"nsswitch/winbind_nss.c", line 504: warning: argument #4 is incompatible with prototype:
        prototype: pointer to int : "nsswitch/winbind_nss.c", line 116
        argument : pointer to unsigned int
"nsswitch/winbind_nss.c", line 630: warning: argument #5 is incompatible with prototype:
        prototype: pointer to int : "nsswitch/winbind_nss.c", line 192
        argument : pointer to unsigned int
"nsswitch/winbind_nss.c", line 691: warning: argument #5 is incompatible with prototype:
        prototype: pointer to int : "nsswitch/winbind_nss.c", line 192
        argument : pointer to unsigned int
"nsswitch/winbind_nss.c", line 705: warning: argument #5 is incompatible with prototype:
        prototype: pointer to int : "nsswitch/winbind_nss.c", line 192
        argument : pointer to unsigned int
"nsswitch/winbind_nss.c", line 755: warning: argument #5 is incompatible with prototype:
        prototype: pointer to int : "nsswitch/winbind_nss.c", line 192
        argument : pointer to unsigned int
"nsswitch/winbind_nss.c", line 769: warning: argument #5 is incompatible with prototype:
        prototype: pointer to int : "nsswitch/winbind_nss.c", line 192
        argument : pointer to unsigned int

Compiling nsswitch/wb_common.c with -KPIC
"nsswitch/wb_common.c", line 40: warning: improper pointer/integer combination: op "="

Compiling passdb/secrets.c
"passdb/secrets.c", line 239: warning: argument #2 is incompatible with prototype:
        prototype: pointer to unsigned int : "passdb/secrets.c", line 57
        argument : pointer to int

Compiling nsswitch/wb_common.c
"nsswitch/wb_common.c", line 40: warning: improper pointer/integer combination: op "="

Compiling smbd/quotas.c
"smbd/quotas.c", line 292: warning: argument #2 is incompatible with prototype:
        prototype: pointer to int : "/usr/include/rpc/xdr.h", line 340
        argument : pointer to unsigned int
"smbd/quotas.c", line 296: warning: argument #2 is incompatible with prototype:
        prototype: pointer to int : "/usr/include/rpc/xdr.h", line 340
        argument : pointer to unsigned int
"smbd/quotas.c", line 300: warning: argument #2 is incompatible with prototype:
        prototype: pointer to int : "/usr/include/rpc/xdr.h", line 340
        argument : pointer to unsigned int

Compiling nsswitch/winbindd_user.c
"nsswitch/winbindd_user.c", line 141: warning: argument #3 is incompatible with prototype:
        prototype: pointer to enum SID_NAME_USE {SID_NAME_UNKNOWN(8), SID_NAME_INVALID(7), SID_NAME_DELETED(6), SID_NAME_WKN_GRP(5), SID_NAME_ALIAS(4), SID_NAME_DOMAIN(3), SID_NAME_DOM_GRP(2), SID_NAME_USER(1), SID_NAME_USE_NONE(0)} : "nsswitch/winbindd_proto.h", line 119
        argument : pointer to unsigned int

Compiling nsswitch/winbindd_idmap.c
"nsswitch/winbindd_idmap.c", line 139: warning: argument #3 is incompatible with prototype:
        prototype: pointer to int : "nsswitch/winbindd_idmap.c", line 71
        argument : pointer to long
"nsswitch/winbindd_idmap.c", line 147: warning: argument #3 is incompatible with prototype:
        prototype: pointer to int : "nsswitch/winbindd_idmap.c", line 71
        argument : pointer to long

Compiling nsswitch/winbindd_util.c
"nsswitch/winbindd_util.c", line 628: warning: argument #6 is incompatible with prototype:
        prototype: pointer to pointer to unsigned int : "include/proto.h", line 1732
        argument : pointer to pointer to enum SID_NAME_USE {SID_NAME_UNKNOWN(8), SID_NAME_INVALID(7), SID_NAME_DELETED(6), SID_NAME_WKN_GRP(5), SID_NAME_ALIAS(4), SID_NAME_DOMAIN(3), SID_NAME_DOM_GRP(2), SID_NAME_USER(1), SID_NAME_USE_NONE(0)}
"nsswitch/winbindd_util.c", line 837: warning: syntax error:  empty declaration

Compiling lib/readline.c
"lib/readline.c", line 52: warning: assignment type mismatch:
        pointer to function(pointer to const char, int, int) returning pointer to pointer to char "=" pointer to function(pointer to char, int, int) returning pointer to pointer to char

Compiling nsswitch/winbind_nss.c with -KPIC
"nsswitch/winbind_nss.c", line 377: warning: argument #4 is incompatible with prototype:
        prototype: pointer to int : "nsswitch/winbind_nss.c", line 116
        argument : pointer to unsigned int
"nsswitch/winbind_nss.c", line 428: warning: argument #4 is incompatible with prototype:
        prototype: pointer to int : "nsswitch/winbind_nss.c", line 116
        argument : pointer to unsigned int
"nsswitch/winbind_nss.c", line 441: warning: argument #4 is incompatible with prototype:
        prototype: pointer to int : "nsswitch/winbind_nss.c", line 116
        argument : pointer to unsigned int
"nsswitch/winbind_nss.c", line 491: warning: argument #4 is incompatible with prototype:
        prototype: pointer to int : "nsswitch/winbind_nss.c", line 116
        argument : pointer to unsigned int
"nsswitch/winbind_nss.c", line 504: warning: argument #4 is incompatible with prototype:
        prototype: pointer to int : "nsswitch/winbind_nss.c", line 116
        argument : pointer to unsigned int
"nsswitch/winbind_nss.c", line 630: warning: argument #5 is incompatible with prototype:
        prototype: pointer to int : "nsswitch/winbind_nss.c", line 192
        argument : pointer to unsigned int
"nsswitch/winbind_nss.c", line 691: warning: argument #5 is incompatible with prototype:
        prototype: pointer to int : "nsswitch/winbind_nss.c", line 192
        argument : pointer to unsigned int
"nsswitch/winbind_nss.c", line 705: warning: argument #5 is incompatible with prototype:
        prototype: pointer to int : "nsswitch/winbind_nss.c", line 192
        argument : pointer to unsigned int
"nsswitch/winbind_nss.c", line 755: warning: argument #5 is incompatible with prototype:
        prototype: pointer to int : "nsswitch/winbind_nss.c", line 192
        argument : pointer to unsigned int
"nsswitch/winbind_nss.c", line 769: warning: argument #5 is incompatible with prototype:
        prototype: pointer to int : "nsswitch/winbind_nss.c", line 192
        argument : pointer to unsigned int

Compiling nsswitch/wb_common.c with -KPIC
"nsswitch/wb_common.c", line 40: warning: improper pointer/integer combination: op "="

Steve

-- 
home steve at gbnet.org       * Flat 2, 43 Howitt Road, Belsize Pk, London NW3 4LU
work steve at thus.net        * tel +44-(0)207 483 1169    FAX +44-(0)207 483 2455
www  http://www.gbnet.net/ * Personal DFAX +44 (0)870 1600 842   (fax to email)
bits steve at gbnet.net       * mob +44-(0)7775755503  Epage steve-pager at gbnet.net




More information about the samba-technical mailing list