https://bugs.openldap.org/show_bug.cgi?id=9181

--- Comment #6 from Howard Chu <[email protected]> ---
(In reply to Ryan Tandy from comment #5)
> Hi Howard, I'm testing my patch for ITS#8383 and this one seems to have
> broken the build in my MSYS2/MinGW environment:
> 
> cc -g -O2 -I../../include        -I../../include       -c -o ntservice.o
> ntservice.c
> In file included from ../../include/portable.h:1173,
>                  from ntservice.c:20:
> ../../include/ldap_int_thread.h:156:43: error: unknown type name
> 'ldap_pvt_thread_mutex_t'; did you mean 'ldap_int_thread_mutex_t'?
>   156 | ldap_pvt_thread_mutex_init_first LDAP_P(( ldap_pvt_thread_mutex_t
> *mutex ));
>       |                                           ^~~~~~~~~~~~~~~~~~~~~~~
> ../../include/ldap_cdefs.h:32:25: note: in definition of macro 'LDAP_P'
>    32 | # define LDAP_P(protos) protos
>       |                         ^~~~~~
> make[2]: *** [<builtin>: ntservice.o] Error 1
> 
> ldap_int_thread.h is included at the top of ldap_pvt_thread.h, so this
> declaration is seen before the ldap_pvt_* typedefs.

Can you retry, changing that declaration to use ldap_int_thread_mutex_t
instead?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to