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

Don't define 'trunc' in MozJS on windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.1.7
    • 3.1.7
    • JavaScript
    • None
    • Fully Compatible
    • ALL
    • Platform 7 08/10/15
    • 0

    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

            jason.carey@mongodb.com Jason Carey
            jason.carey@mongodb.com Jason Carey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: