[
https://issues.apache.org/jira/browse/XERCESC-1900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12788136#action_12788136
]
Scott Cantor commented on XERCESC-1900:
---------------------------------------
It's not a licensing issue, it's a "if you change this for everybody else, most
code in the world using Xerces on Windows will crash" issue.
If they want to add optional build targets, that's fine, but as a default it's
entirely the wrong choice.
Note that MS itself now defaults builds to the DLL version, I believe, and has
generally steered everybody that way so that they can properly address security
fixes to the runtime. Your approach as with all static linking makes you
responsible for all fixes.
If you're worried about disk size, just offer it as a separate download.
> Compile xerces.dll using /MT to remove the dependency on msvcr90.dll
> --------------------------------------------------------------------
>
> Key: XERCESC-1900
> URL: https://issues.apache.org/jira/browse/XERCESC-1900
> Project: Xerces-C++
> Issue Type: Improvement
> Components: Build
> Affects Versions: 3.0.1
> Environment: Windows OS.
> Reporter: David Wendt
> Priority: Trivial
>
> The xerces-c_3_0.dll requires msvc90.dll to be installed. We have found that
> some of our customers do not have the msvcr90.dll installed on their
> machines.
> Changing the compile flag from /MD to /MT for the Release configuration will
> remove the dependency (compiles all needed C-runtime code into the xerces DLL
> itself). The result is a 90KB bigger DLL which is only about 6% increase in
> size.
> I can provide the modified .vcproj.
> Another option is to create a separate Release configuration with this
> compile option too.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]