Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-19848

Don't define 'trunc' in MozJS on windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.1.7
    • Fix Version/s: 3.1.7
    • Component/s: JavaScript
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Platform 7 08/10/15

      Description

      MSVC 2013 started offering 'trunc' from math.h

      Our SpiderMonkey configuration does not set HAVE_TRUNC in configuration, so mozilla generates a trunc, which then conflicts with the math.h provided trunc.

      We should fix that by setting HAVE_TRUNC in the windows configs

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: