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

Missing include in DoubleSupport.cpp etc.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.12
    • None
    • XalanC
    • macOS 10.11

    Description

      src/xalanc/PlatformSupport/DoubleSupport.cpp uses std::atof but does not include the corresponding header <cstdlib>. This caused the build to fail for us on some macOS versions, and presumably would do the same anywhere that the other included headers don't happen to include cstdlib internally.

       The same include is also needed in src/xalanc/XSLT/FunctionSystemProperty.cpp for std::getenv, and in src/xalanc/XalanEXSLT/XalanEXSLTMath.cpp for std::rand.

      Attachments

        Activity

          People

            ggregory Gary D. Gregory
            jmroot Joshua Root
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: