[SERVER-19853] Can't use constexpr numeric_limits on msvc in MozJS Created: 10/Aug/15 Updated: 19/Sep/15 Resolved: 10/Aug/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript |
| Affects Version/s: | 3.1.7 |
| Fix Version/s: | 3.1.7 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mira Carey | Assignee: | Mira Carey |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Sprint: | Platform 8 08/28/15 | ||||
| Participants: | |||||
| Linked BF Score: | 0 | ||||
| Description |
|
We can't use numeric_limits in static asserts in msvc 2013 (no constexpr). We should switch over to UINT_MAX |
| Comments |
| Comment by Githook User [ 10/Aug/15 ] |
|
Author: {u'username': u'hanumantmk', u'name': u'Jason Carey', u'email': u'jcarey@argv.me'}Message: can't use numeric_limits in static asserts on msvc 2013 |