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

Examples require C++ linker

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.8.2, 1.9.0
    • Affects Version/s: 1.7.0
    • Component/s: Build
    • Labels:
      None

      I see in libmongoc's CMakeLists.txt:

            if (ENABLE_SNAPPY STREQUAL "bundled")
               set_target_properties(${example} PROPERTIES LINKER_LANGUAGE CXX)
               set_target_properties(${example} PROPERTIES LINKER_LANGUAGE CXX)
            endif ()
      

      The line need not be repeated, obviously. But more importantly, is it still necessary to use a C++ linker when linking a program to libmongoc that was built with bundled Snappy? Or did we fix that?

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

              Created:
              Updated:
              Resolved: