[CXX-777] Evergreen builds should use -Wall and -Werror Created: 15/Dec/15 Updated: 11/Jan/16 Resolved: 10/Jan/16 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Epic Link: | C++11 Driver MongoDB 3.2 | ||||||||
| Description |
|
We have had a few instances of warnings creeping in. We should enable warnings and warnings as errors. Ideally, this would be an option to CMake (defaults to ON), though we should think about how to achieve it. |
| Comments |
| Comment by Githook User [ 10/Jan/16 ] |
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}Message: Note that we currently need -Wno-attributes to avoid being overwhelmed by warnings |
| Comment by Githook User [ 10/Jan/16 ] |
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}Message: |
| Comment by Andrew Morrow (Inactive) [ 03/Jan/16 ] |
| Comment by Andrew Morrow (Inactive) [ 03/Jan/16 ] |
|
At least one warning is the result of the issue in |