[SERVER-20553] Warnings for 'js::jit::TempObject::operator new' while compiling mozjs on Windows Created: 22/Sep/15  Updated: 15/Oct/15  Resolved: 12/Oct/15

Status: Closed
Project: Core Server
Component/s: Build, JavaScript
Affects Version/s: None
Fix Version/s: 3.2.0-rc0

Type: Bug Priority: Minor - P4
Reporter: Kaloian Manassiev 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: ALL
Sprint: Platform A (10/09/15), Platform B (10/30/15)
Participants:

 Description   

This warning completely pollutes the logs of the Windows build:

e:\workspace\mongo\src\third_party\mozjs-38\extract\js\src\jit/MIR.h(10635) :
warning C4291: 'void *js::jit::TempObject::operator new(size_t,js::jit::TempAllocator &)' : no matching operator delete found; memory will not be freed if initialization throws an exception

If possible, we should fix it, or at least disable it.



 Comments   
Comment by Mark Benvenuto [ 12/Oct/15 ]

This as fixed with the following change:

Author:

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

Message: SERVER-20313: Remove SpiderMonkey Windows exported functions
Branch: master
https://github.com/mongodb/mongo/commit/83557249df14f8d685aa4a76a407738fe84bdb1b

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