[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: |