[
https://issues.apache.org/jira/browse/XERCESC-2125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16312925#comment-16312925
]
Roger Leigh commented on XERCESC-2125:
--------------------------------------
Interestingly, after fixing the variable name this shows up a possible flaw in
the autoconf/make build. If you disable threads, it's still linking everything
with pthreads, including the thread tests, so it's not really "nothread" at
all! This includes all the thread tests.
> 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
>
> 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]