[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Compile failed when configure --without-thread on git master branch
- To: openldap-devel@openldap.org
- Subject: Compile failed when configure --without-thread on git master branch
- From: Qun-Ying <zhu.qunying@gmail.com>
- Date: Thu, 20 Apr 2017 10:36:13 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=bXLb/b5BkQ54QPLj/B43inADi6LRNimgemuR2SO3074=; b=g9sEmRkP9lneIDFDLMi4LMn+EVuVYFCqY2IHZzSK2ONA7GOVBl6TGuffy5w4VBaoVr qXoYTUKdC5Ws+hSnH3azvXNsOw5bkktxxkBM2Z9WufCxEJw2AE52T7hQ3zjKP2SC8dIm PoZlaDKT2KravNLAL6VyL/YniojIOUParRxBk6RDZSp5QolYxEQEOKniB6bkwyMrWQBr QwTcOAmHuHTElkJ1YjtXyUJZFfZrDKBGcqVnDx9vi7ojDxr86i4D/A1+qo4vVU2GGCC0 8+ApHDT7TJqhc6VGg0Bwf9tNAMY+94QttcRJOSbrKsGSfPnRJere7Oarz+3Z9r4VgXBf mbOA==
Hi,
When configure with
./configure --without-thread
The code in master branch will failed with:
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.
--
Qun-Ying