Buchan Milne wrote: > On Tuesday 26 February 2008 21:07:16 Pierangelo Masarati wrote: >> Olivier Germain wrote: >>> Good moring List, >>> >>> I am using the following openldap release openldap/2.3.36_64. >>> I am experiencing a signal 6 in the ldap_init during coonection to my >>> LDAP server. I would like to know if someone of you has already got >>> this problem. If yes could it be possible to know how this has been >>> solved new release of openldap? >> See <http://www.openldap.org/its?findid=4168> (read the whole story). > > A compile-time warning or error would really help everyone ...
It's already there: with gcc, without any special flag, you get a "assignment makes pointer from integer without a cast" if you use ldap_init(3) and assign the result to a LDAP*; with -Wall you also get "warning: implicit declaration of function `ldap_init'". Of course, then, developers should take care of compile warnings... I don't know what we could do more, other than removing those functions from libldap. p. Ing. Pierangelo Masarati OpenLDAP Core Team SysNet s.r.l. via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it --------------------------------------- Office: +39 02 23998309 Mobile: +39 333 4963172 Email: [EMAIL PROTECTED] ---------------------------------------
