[CXX-55] Apply -fvisibility=hidden earlier in build process when building client shared library Created: 18/Feb/14  Updated: 26/Mar/14  Resolved: 28/Feb/14

Status: Closed
Project: C++ Driver
Component/s: None
Affects Version/s: None
Fix Version/s: legacy-0.0-26compat-2.6.0-rc0

Type: Bug Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: legacy-cxx
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-12588 Application of -fvisibility=hidden to... Closed
Related
is related to SERVER-12588 Application of -fvisibility=hidden to... Closed

 Description   

See SERVER-12588 for details. We can't currently do this in the server because it breaks the build on really old compilers which we need for binary releases, but we need this to work for the client driver. Perhaps we can have a configure check for really old compilers and only apply visibility if we know it works?



 Comments   
Comment by Andrew Morrow (Inactive) [ 28/Feb/14 ]

https://github.com/mongodb/mongo-cxx-driver/pull/7

Comment by Andrew Morrow (Inactive) [ 27/Feb/14 ]

Moving this into compat rc0 because it causes major confusion on windows. We need to build separately for objects used by libdeps and the static archive from how we build for shared library / dll objects.

Generated at Wed Feb 07 21:58:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.