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

Address BSON_COMPILATION redefinition error when compiling libbson.rc

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.27.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • C Drivers

      The libbson.rc.in file unnecessarily (re)defines BSON_COMPILATION which is already set via target properties, producing the following warning when compiled:

      warning RC4005: 'BSON_COMPILATION' : redefinition
      

      The libmongoc.rc.in file does not have this problem.

            Assignee:
            ezra.chung@mongodb.com Ezra Chung
            Reporter:
            ezra.chung@mongodb.com Ezra Chung
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: