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

Use anonymous namespace for private time compatibility functions

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.11
    • Fix Version/s: 1.12
    • Component/s: XalanC
    • Labels:
      None

      Description

      The existing implementation of the gmtime_r and localtime_r functions could clash with the implementations in the standard library due to having global scope.  Move to an anonymous namespace to prevent clashes and compiler failure.

        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:
                Resolved: