You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Scott Cantor (JIRA)" <xe...@xml.apache.org> on 2017/07/07 21:30:00 UTC
[jira] [Commented] (XERCESC-2035) Add Windows build configs with
static MSVC CRT linkage
[ https://issues.apache.org/jira/browse/XERCESC-2035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16078727#comment-16078727 ]
Scott Cantor commented on XERCESC-2035:
---------------------------------------
I suspect this is something the cmake builds can be told to do when they're configured, but confirming that would be useful.
In general this is just unsafe to do with C++ libraries, but I doubt Xerces is as impacted by that as much as a library that exposes STL objects might be.
> Add Windows build configs with static MSVC CRT linkage
> ------------------------------------------------------
>
> Key: XERCESC-2035
> URL: https://issues.apache.org/jira/browse/XERCESC-2035
> Project: Xerces-C++
> Issue Type: Improvement
> Components: Miscellaneous
> Affects Versions: 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4
> Environment: All
> Reporter: Lee Doron
> Priority: Minor
> Fix For: 3.2.0
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> The Windows DLL builds (e.g. Debug and Release) currently are linked against the Microsoft Visual C++ C Runtime DLLs (using the /MDd and /MD options, respectively). This means that it cannot function without the corresponding MSVCRnnn.DLL file, so the end user must install the proper Microsoft Visual C++ Redistributable.
> Please consider adding build configurations that are statically linked to the CRT (almost identical to those above, but using the /MTd and /MT options, respectively). This would give developers the option of using a Xerces DLL that doesn't have this dependency on the Redistributable package.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org