[SERVER-27898] pthread_setname_np test should be compiled as cpp Created: 02/Feb/17  Updated: 05/Apr/17  Resolved: 07/Feb/17

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 3.5.2
Fix Version/s: 3.5.3

Type: Bug Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Mark Benvenuto
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platforms 2017-02-13
Participants:

 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.



 Comments   
Comment by Githook User [ 07/Feb/17 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-27898 pthread_setname_np test should be compiled as cpp
Branch: master
https://github.com/mongodb/mongo/commit/d2f8e7b9286262326beae3c08f65ce0f2599d83a

Generated at Thu Feb 08 04:16:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.