[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#8642) ./configure --without-thread compile failed on git master



Full_Name: Zhu, Qunying
Version: git master
OS: Linux (Slackware63 14.2)
URL: 
Submission from: (NULL) (208.91.114.4)


I will get the compile error of this:

thr_stub.c:170:1: error: conflicting types for 'ldap_pvt_thread_pool_retract'
 ldap_pvt_thread_pool_retract (
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from thr_stub.c:21:0:
../../include/ldap_pvt_thread.h:237:1: note: previous declaration of
'ldap_pvt_thread_pool_retract' was here
 ldap_pvt_thread_pool_retract LDAP_P((
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
thr_stub.c:254:1: warning: return type defaults to 'int' [-Wimplicit-int]
 ldap_pvt_thread_pool_pausecheck( ldap_pvt_thread_pool_t *tpool )

It seems the check in  e12ca8b6fed6b8a2526 for "Fixes for multiple threadpool
queues" change the API but does not update the thr_stub.c definition.