Uploaded image for project: 'XalanC'
  1. XalanC
  2. XALANC-802

Static builds are broken on Windows

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.11, 1.12
    • Fix Version/s: 1.13
    • Component/s: XalanC
    • Labels:
      None
    • Environment:
      MSVC

      Description

      The DLL import/export macros are used unconditionally, breaking linking when using a static library.

      Use a suitable _EXPORT define when building; see CMake GenerateExportHeader for one way to do this which could be easily enabled.

        Attachments

          Activity

            People

            • Assignee:
              rleigh Roger Leigh
              Reporter:
              rleigh Roger Leigh
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified