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

Don't define 'trunc' in MozJS on windows

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.7
    • Affects Version/s: 3.1.7
    • Component/s: JavaScript
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Platform 7 08/10/15
    • 0

      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

            Assignee:
            mira.carey@mongodb.com Mira Carey
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: