On Mon, Sep 08, 2003 at 11:15:59AM -0400, Matt wrote:
> Eh?
> 
> ./compile auto_uids.c
> ./auto-str auto_usera `head -1 conf-users` > auto_usera.c
> ./compile auto_usera.c
> ./compile  check.c
> ./compile output.c
> ./compile  -I/usr/local/include -DDEBUG qldap.c
> qldap.c: In function `qldap_lookup':
> qldap.c:328: warning: passing arg 5 of `ldap_search_st' from incompatible pointer 
> type
> qldap.c: In function `qldap_filter':
> qldap.c:415: warning: passing arg 5 of `ldap_search_st' from incompatible pointer 
> type
> qldap.c: In function `qldap_first':
> qldap.c:467: `NULL' undeclared (first use in this function)
> qldap.c:467: (Each undeclared identifier is reported only once
> qldap.c:467: for each function it appears in.)
> qldap.c: In function `qldap_next':
> qldap.c:485: `NULL' undeclared (first use in this function)
> qldap.c: In function `qldap_set_option':
> qldap.c:916: warning: passing arg 2 of `ldap_set_rebind_proc' from incompatible 
> pointer type
> make: *** [qldap.o] Error 1
> 
> Why is it doing this?   
> 
Bug. Replace the NULL with a 0 (zero) and it will work.
I'm used to using NULL but in djb-land this is not supported/defined.


-- 
:wq Claudio

Reply via email to