[CDRIVER-2927] Build on Evergreen with -Werror Created: 15/Jan/19 Updated: 15/Apr/22 Resolved: 15/Apr/22 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | tests |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Minor - P4 |
| Reporter: | Kevin Albertson | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | evergreen | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | CDRIVER-2733 |
| Description |
|
The debug-compile-with-warnings task compiles with -Werror using GCC 5.4. But Travis compiles with -Werror using clang. Many times I've had a passing evergreen patch build, push to master, then find out I broke the Travis build because clang produces different warnings. Ideally, we should compile with -Werror everywhere. If that is not reasonable, we should at least build with -Werror using clang, so Evergreen fails on the same warnings that Travis does. |
| Comments |
| Comment by Kevin Albertson [ 14/Apr/20 ] |
|
If we can enable -Werror everywhere, we can remove the debug-compile-with-warnings task. |
| Comment by Kevin Albertson [ 27/Feb/19 ] |
|
Work remains to do so on other variants. |
| Comment by Githook User [ 27/Feb/19 ] |
|
Author: {'name': 'Kevin Albertson', 'username': 'kevinAlbs', 'email': 'kevin.albertson@mongodb.com'}Message: |