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

Check that all public symbols are marked extern "C"

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 1.10.0
    • None
    • tests
    • None
    • Fully Compatible

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: