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

Build on Evergreen with -Werror

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • tests

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: