Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2927

Build on Evergreen with -Werror

    • Type: Icon: Task Task
    • Resolution: Won't Do
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Testing
    • Labels:

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: