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

Can't use constexpr numeric_limits on msvc in MozJS

    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 8 08/28/15

      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

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

              Dates

              • Created:
                Updated:
                Resolved: