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

pthread_setname_np test should be compiled as cpp

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.3
    • Affects Version/s: 3.5.2
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Platforms 2017-02-13

      The current test for "pthread_setname_np" should be compiled as C++ instead of C. If it is compiled C, the function is treated as implicitly defined instead of as undefined if --disable-warnings-as-errors is set. This will cause the test to incorrectly pass.

      Discovered when building on SUSE 11 with --disable-warnings-as-errors enabled.

            Assignee:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: