[Qt-creator] potential bug in winldap.h of your mingw distribution

Itamar Reis Peixoto itamar at ispbrasil.com.br
Wed May 13 21:49:25 CEST 2009


you need to file a bug directly at mingw.org



On Wed, May 13, 2009 at 6:46 AM, Liebe Markus (RtP2/TEF72)
<Markus.Liebe at de.bosch.com> wrote:
> Hi,
>
> I think I have encountered a bug in the winldap.h of your mingw distribution.
>
> The function ldap_explode_dnA should return a PCHAR* instead of just a PCHAR.
> After changing that in the headerfile the function works as expected.
>
> Without the asterisk it does not work.
> According to MSDN the function is defined returning a PCHAR* : http://msdn.microsoft.com/en-us/library/aa366576(VS.85).aspx
>
> Attached you will find a diff containing the changes I made to the header file to get it working.
>
> Mit freundlichen Grüßen / Best regards
>
> Markus Liebe
>
> Robert Bosch GmbH
> Automotive Electronics, RtP2/TEF72
> Postfach 13 42
> 72703 Reutlingen
> GERMANY
> www.bosch.com
>
> Tel. 07121 35-35246
> markus.liebe at de.bosch.com
>
> Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart, HRB 14000;
> Aufsichtsratsvorsitzender: Hermann Scholl; Geschäftsführung: Franz Fehrenbach, Siegfried Dais;
> Bernd Bohr, Rudolf Colm, Volkmar Denner, Gerhard Kümmel, Wolfgang Malchow, Peter Marks,
> Peter Tyroller; Uwe Raschke
>
>
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
>



-- 
------------

Itamar Reis Peixoto

e-mail/msn: itamar at ispbrasil.com.br
sip: itamar at ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599




More information about the Qt-creator-old mailing list