Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2563

Check that all public symbols are marked extern "C"

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.10.0
    • Affects Version/s: None
    • Component/s: Testing
    • None
    • Fully Compatible

      Prevent bugs like CDRIVER-2562. Write a script to run in Evergreen that reads all header files without "-private.h" in their names in src/mongoc and src/libbson/src/bson, and asserts they all contain BSON_BEGIN_DECLS and BSON_END_DECLS.

            Assignee:
            kevin.albertson@mongodb.com Kevin Albertson
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: