wldap32: struvt *berval versus PBERVAL

Saulius Krasuckas saulius2 at ar.fi.lt
Mon Aug 1 13:57:59 CDT 2005


* On Mon, 1 Aug 2005, Hans Leidekker wrote:
> * On Monday 1 August 2005 19:39, Hans Leidekker wrote:
> > 
> > > a recent CVS checkout failed in wldap32. Shouldn't "struvt *berval" 
> > > be substituded agains PBERVAL?
> >
> > Yes, that's an acceptable solution.
> 
> Spoke too soon. It creates other compile problems (when you do have 
> openldap headers). Better would be to change struct *berval into struct 
> WLDAP32_berval*.

Are you both talking about this:

| make[2]: Entering directory `/mnt/antras/usr/src/wine-cvs/wine/dlls/wldap32'
| gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__   -D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wpointer-arith  -g -O2 -o compare.o compare.c
| In file included from compare.c:38:
| winldap_private.h:125: warning: `struct berval' declared inside parameter list
| winldap_private.h:125: warning: its scope is only this definition or declaration, which is probably not what you want
| winldap_private.h:126: warning: `struct berval' declared inside parameter list
| winldap_private.h:127: warning: `struct berval' declared inside parameter list
| winldap_private.h:128: warning: `struct berval' declared inside parameter list
| compare.c:119: warning: `struct berval' declared inside parameter list
| compare.c:120: conflicting types for `ldap_compare_extA'
| winldap_private.h:125: previous declaration of `ldap_compare_extA'
| compare.c:170: warning: `struct berval' declared inside parameter list
| compare.c:171: conflicting types for `ldap_compare_extW'
| winldap_private.h:126: previous declaration of `ldap_compare_extW'
| compare.c:227: warning: `struct berval' declared inside parameter list
| compare.c:228: conflicting types for `ldap_compare_ext_sA'
| winldap_private.h:127: previous declaration of `ldap_compare_ext_sA'
| compare.c:277: warning: `struct berval' declared inside parameter list
| compare.c:278: conflicting types for `ldap_compare_ext_sW'
| winldap_private.h:128: previous declaration of `ldap_compare_ext_sW'
| make[2]: *** [compare.o] Error 1
| make[2]: Leaving directory `/mnt/antras/usr/src/wine-cvs/wine/dlls/wldap32'

?
What should I do to compile my tree?



More information about the wine-devel mailing list