Uploaded image for project: 'Libmongocrypt'
  1. Libmongocrypt
  2. MONGOCRYPT-587

Build with warnings and treat them as errors

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.9.0
    • Affects Version/s: None
    • Component/s: None
    • None

      While working on MONGOCRYPT-512 it became evident that it would be very helpful to have -Wall -Werror as default compile options in Evergreen builds. It seems that this was done once before (MONGOCRYPT-103, commit 05bb025ffae269fe47d41e81636d98b438daf4c8) but that somehow it was changed and we no longer have this.

      Note that as part of MONGOCRYPT-512 it was necessary to prune -Werror from the compiler flags before including the embedded C driver in the build. The same seems likely to be necessary for DFP when -Wall is added.

            Assignee:
            roberto.sanchez@mongodb.com Roberto Sanchez
            Reporter:
            roberto.sanchez@mongodb.com Roberto Sanchez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: