[SERVER-23948] SCons should make sure that the C++ compiler is actually a C++ compiler Created: 27/Apr/16  Updated: 06/Jun/16  Resolved: 17/May/16

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: 3.3.8

Type: Improvement Priority: Major - P3
Reporter: Jonathan Reams Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Platforms 15 (06/03/16)
Participants:

 Description   

SCons can end up using gcc (not g++) for compiling, but will have errors during link because libstdc++ won't get added to the link line. We should check that the C++ compiler is actually a C++ compiler to catch this error.



 Comments   
Comment by Githook User [ 17/May/16 ]

Author:

{u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}

Message: SERVER-23948 Check at configure time that the claimed C++ compiler can actually link a C++ program
Branch: master
https://github.com/mongodb/mongo/commit/9208c28e02d74a3476ba8cf1efc00ce31c3ecae8

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