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

pthread_setname_np test should be compiled as cpp

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.5.2
    • Fix Version/s: 3.5.3
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Platforms 2017-02-13

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: