[SERVER-29710] Fix building on Solaris Created: 19/Jun/17  Updated: 30/Oct/23  Resolved: 19/Jun/17

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 3.5.9

Type: Bug Priority: Major - P3
Reporter: ADAM Martin (Inactive) Assignee: ADAM Martin (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platforms 2017-06-19
Participants:

 Description   

A recent commit (https://github.com/mongodb/mongo/commit/923ad3ba8160f2cd614e1258ef19294bd502af78) added a variable which is unused on Solaris. Simply enabling this variable for if-def paths which use it will suffice to fix the build on Solaris.



 Comments   
Comment by Githook User [ 19/Jun/17 ]

Author:

{u'username': u'adamlsd', u'name': u'ADAM David Alan Martin', u'email': u'adam.martin@10gen.com'}

Message: SERVER-29710 Fix building on Solaris.

An unused variable in Solaris caused a warning-as-error to
trigger, breaking the build. This change makes that variable's
existence predicated upon ifdef-paths which need it.
Branch: master
https://github.com/mongodb/mongo/commit/dac2c7dde31c68fb81364ba3cc8c076235a62ced

Comment by ADAM Martin (Inactive) [ 19/Jun/17 ]

https://evergreen.mongodb.com/version/5947daf42fbabe791d0004c6

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