[SERVER-20811] SpiderMonkey js-confdefs.h missing Windows defines Created: 07/Oct/15  Updated: 05/Apr/17  Resolved: 09/Feb/17

Status: Closed
Project: Core Server
Component/s: JavaScript
Affects Version/s: 3.1.9
Fix Version/s: 3.5.3

Type: Bug Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Mark Benvenuto
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: Windows
Sprint: Platforms 2017-01-23, Platforms 2017-02-13
Participants:

 Description   

SpiderMonkey does not automatically detect the following defines on Windows 32-bit and 64-bit.

#define HAVE_ACOSH 1
#define HAVE_ASINH 1
#define HAVE_ATANH 1
#define HAVE_CBRT 1
#define HAVE_EXPM1 1
#define HAVE_LOG1P 1
#define HAVE_LOG2 1



 Comments   
Comment by Githook User [ 09/Feb/17 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-20811 SpiderMonkey js-confdefs.h missing Windows defines
Branch: master
https://github.com/mongodb/mongo/commit/2be5445f1d34ed3708357d23b16fa3d13c34dfa2

Comment by Mark Benvenuto [ 10/Jan/17 ]

These defines have been removed from jsmath.cpp and the code has been reworked after ESR45.
See https://bugzilla.mozilla.org/show_bug.cgi?id=933257
https://hg.mozilla.org/mozilla-central/filelog/7011ed1427de2b6f075c46cc6f4618d3e9fcd2a4/js/src/jsmath.cpp

We may still want to modify js-confdefs.h to remove some unnecessary exported functions though for cleanliness.

Generated at Thu Feb 08 03:55:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.