Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-2137

CMake Build Doesn't Activate XERCES_MFC_SUPPORT

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.2.1
    • Build
    • None
    • MS Visual Studio

    Description

      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

      Attachments

        1. 0001-cmake-Add-mfc-debug-option.patch
          4 kB
          Roger Leigh
        2. mfc_debug_cmake.patch
          0.9 kB
          Scott Morgan

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            rleigh Roger Leigh
            blumf Scott Morgan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment