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

Can't use constexpr numeric_limits on msvc in MozJS

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

      We can't use numeric_limits in static asserts in msvc 2013 (no constexpr).

      We should switch over to UINT_MAX

            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: