Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-27507

Implement support for symbol visibility source annotations

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Build
    • Labels:
      None
    • Fully Compatible
    • Dev Platform 2020-09-07

      Implement support in the build system for annotating symbols for export, as with _declspec(dllexport) or attribute_((visibility("default"))), and switch the build on non-Windows platforms to build with the default visibility set to hidden.

      We can simplify the mechanics of this task by leveraging a preprocesor technique outlined here:

      http://stackoverflow.com/questions/40944257/can-boost-pp-defined-be-implemented

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: