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

Build with warnings and treat them as errors

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Unknown Unknown
    • 1.9.0
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: