[SERVER-11020] Consistently use NDEBUG across all TU's when building without debugging Created: 03/Oct/13 Updated: 18/Sep/15 Resolved: 27/Mar/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.1 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | build | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Platform 1 04/03/15 | ||||||||
| Participants: | |||||||||
| Description |
|
For historical reasons, we have not been defining NDEBUG globally in the server build. This resulted in at least one subtle misconfiguration (see We should, early in 2.7, promote NDEBUG to the top level build for non-debug builds. |
| Comments |
| Comment by Githook User [ 27/Mar/15 ] |
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}Message: |
| Comment by Eric Milkie [ 26/Mar/15 ] |
|
I'm leaning towards using something private to MongoDB, instead of using NDEBUG. After refreshing my memory with |