[SERVER-24120] Make link warnings fatal Created: 10/May/16 Updated: 04/Jan/17 Resolved: 03/Jun/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 3.3.8 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Done | Votes: | 1 |
| Labels: | bkp | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Backport Requested: |
v3.2
|
||||||||||||||||||||
| Sprint: | Platforms 15 (06/03/16) | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
We should build with -Wl,--fatal-warnings so that linker warnings are escalated to errors. We should also see if there is a Windows equivalent. |
| Comments |
| Comment by Githook User [ 03/Jun/16 ] |
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}Message: |
| Comment by Eric Milkie [ 10/May/16 ] |
|
Yes, on Windows the flag is the same for the compiler and the linker: /WX |