[SERVER-19848] Don't define 'trunc' in MozJS on windows 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 7 08/10/15 | ||||
| Participants: | |||||
| Linked BF Score: | 0 | ||||
| Description |
|
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 |
| 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: MSVC 2013 started offering 'trunc' from math.h. Our SpiderMonkey Fix that by setting HAVE_TRUNC in the windows configs. |