FW: assignment discards qualifiers from pointer target-samba-3.0- alpha18

Boyce, Nick nick.boyce at eds.com
Wed Jul 24 10:07:47 GMT 2002


San asked the original question.
*I* can't answer it, but I thought I'd help out by pointing out to him that
he didn't specify what kind of system & compiler he's using.
He replied, but personally to me, which won't get him very far :-(
So here's his system data (he still hasn't said what hardware architecture
he's working on though).

Nick Boyce
EDS, Bristol, UK



-----Original Message-----
From: san [mailto:sanjeev at unisoftindia.net]
Sent: 24 July 2002 17:27
To: Boyce, Nick
Subject: Re: assignment discards qualifiers from pointer
target-samba-3.0-alpha18

Hi Nick Boyce,

I am using RedHat 7.1,

gcc-2.96-81

krb5-devel-1.2.2-4,  krb5-workstation-1.2.2-4 ,krb5-libs-1.2.2-4

kernel: kernel-2.4.3-12


Regards,

San

System Administrator
www.unisoftindia.net

----- Original Message -----
From: "Boyce, Nick" <nick.boyce at eds.com>
To: "'san'" <sanjeev at unisoftindia.net>
Sent: Wednesday, July 24, 2002 9:36 PM
Subject: RE: assignment discards qualifiers from pointer
target-samba-3.0-alpha18


> Good grief San !   Don't you think it might help the Samba gurus if you
> specified what system type and compiler you're using ?
>
> Nick Boyce
> EDS, Bristol, UK
>
>
> -----Original Message-----
> From: san [mailto:sanjeev at unisoftindia.net]
> Sent: 24 July 2002 14:04
> To: samba-technical at lists.samba.org
> Subject: assignment discards qualifiers from pointer
> target-samba-3.0-alpha18
>
>
> Hi all!
>
> While compiling i am getting the following error messages
>
> "passdb/secrets.c: In function `secrets_fetch':
> passdb/secrets.c:61: warning: assignment discards qualifiers from pointer
> target
>  type
> passdb/secrets.c: In function `secrets_store':
> passdb/secrets.c:77: warning: assignment discards qualifiers from pointer
> target
>  type
> passdb/secrets.c: In function `secrets_delete':
> passdb/secrets.c:93: warning: assignment discards qualifiers from pointer
> target
>  type
>
> passdb/pdb_ldap.c: In function `ldapsam_search_one_user':
> passdb/pdb_ldap.c:340: warning: passing arg 5 of `ldap_search_s' from
> incompatib
> le pointer type
> passdb/pdb_ldap.c: In function `search_top_nua_rid':
> passdb/pdb_ldap.c:1011: warning: passing arg 5 of `ldap_search_s' from
> incompati
> ble pointer type
> passdb/pdb_ldap.c: In function `ldapsam_setsampwent':
> passdb/pdb_ldap.c:1109: warning: passing arg 5 of `ldap_search_s' from
> incompati
> ble pointer type
> lib/util_str.c: In function `all_string_sub_w':
> lib/util_str.c:839: warning: initialization discards qualifiers from
pointer
> tar
> get type
>
> libads/kerberos.c: In function `kerberos_kinit_password':
> libads/kerberos.c:76: warning: passing arg 6 of
> `krb5_get_init_creds_password' discards qualifiers from pointer target
type
>
>
> "
>
>
> How do i solve
>
> Regards,
>
> San




More information about the samba-technical mailing list