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

Can't use constexpr numeric_limits on msvc in MozJS

    XMLWordPrintableJSON

Details

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

    Description

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

      We should switch over to UINT_MAX

      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: