pthread_setname_np test should be compiled as cpp

XMLWordPrintableJSON

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

      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
              Reporter:
              Mark Benvenuto
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: