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

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

[~blumf] Please could you try testing with the attached patch.  Also available 
here if it's easier: 
[https://github.com/rleigh-codelibre/xerces-c/tree/mfc-support]

 

Should be enabled by default, though you can disable if you wish, which matches 
the defaults of the 3.1 MSVC configuration header.  This is based on your 
patch, but matches the style of the existing options and adds some 
documentation.

 

Thanks,

Roger

> 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: 0001-cmake-Add-mfc-debug-option.patch, 
> 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