[ 
https://issues.apache.org/jira/browse/XERCESC-2125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roger Leigh resolved XERCESC-2125.
----------------------------------
       Resolution: Fixed
         Assignee: Roger Leigh
    Fix Version/s: 3.2.1

Fixed in SVN commits 1820309 and 1820311.

While the autoconf/make logic is building the ThreadTests for some reason even 
with threading explicitly disabled (it appears libtool is automatically using 
{{-pthread}}), for CMake we need to disable the ThreadTests when threading is 
disabled since it requires pthreads, which are intentionally missing in this 
situation.

> CMake variable for nothreads does not match generated config define
> -------------------------------------------------------------------
>
>                 Key: XERCESC-2125
>                 URL: https://issues.apache.org/jira/browse/XERCESC-2125
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.2.0
>         Environment: Windows 8.1 64 bit, Visual Studio 2015, CMake 3.9.1
>            Reporter: Sam Vanheer
>            Assignee: Roger Leigh
>             Fix For: 3.2.1
>
>
> When the mutex manager is set to nothreads, the generated config will not 
> enable the XERCES_USE_MUTEXMGR_NOTHREAD definition.
> This is because the configure_file function takes CMake variable names to use 
> for #cmakedefine, but the name for that configuration is 
> XERCES_USE_MUTEXMGR_NOTHREADS, defined in cmake/XercesMutexMgrSelection.cmake.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to