SunStudio compile

Michael Ströder michael at stroeder.com
Fri Aug 22 17:11:12 CEST 2008


Matej Vela wrote:
> Anil <anilj at entic.net> writes:
> 
>> I am trying to compile python ldap with SunStudio, I get this error. Any 
>> idea?
> [...]
>> "Modules/options.c", line 108: Error: Formal argument 1 of type 
>> ldapcontrol** in call to LDAPControl_List_DEL(ldapcontrol**) is being 
>> passed void*.
> 
> The type checking seems to be a bit overzealous.  Try changing line 108
> of Modules/options.c from
> 
>         LDAPControl_List_DEL(ptr);
> 
> to
> 
>         LDAPControl_List_DEL((LDAPControl**) ptr);

Matej, do you think we should change this in general?

Ciao, Michael.



More information about the python-ldap mailing list