[ 
https://issues.apache.org/jira/browse/XERCESC-2137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16365656#comment-16365656
 ] 

Roger Leigh commented on XERCESC-2137:
--------------------------------------

The fix is pretty straightforward.  I can apply this with a bit of extra 
documentation.

 

What's actually breaking here?  I do daily debug builds and I've never had a 
problem.  Does you project need to be explicitly using MFC stuff for this to be 
an issue?

> CMake Build Doesn't Activate XERCES_MFC_SUPPORT
> -----------------------------------------------
>
>                 Key: XERCESC-2137
>                 URL: https://issues.apache.org/jira/browse/XERCESC-2137
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>         Environment: MS Visual Studio
>            Reporter: Scott Morgan
>            Priority: Major
>         Attachments: mfc_debug_cmake.patch
>
>
> The XERCES_MFC_SUPPORT define is needed for Visual Studio debug builds, it 
> activates some code in XMemory.hpp/cpp
> Should just be a case of detecting MSVC in the main CMakeLists.txt and adding 
> a '#cmakedefine XERCES_MFC_SUPPORT' line in 
> Xerces_autoconf_config.hpp.cmake.in



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org

Reply via email to