Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-8263

Enable compiler warnings for CPP files related to workgen

    • Type: Icon: Technical Debt Technical Debt
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • 5
    • StorEng - Defined Pipeline

      InĀ WT-8196, we definedĀ AM_CXXFLAGS which contains the first set of compilation flags. In WT-8247, we should have a complete list of flags we want to keep. It's not time to enable them for the bench/workgen files.

      In WT-8196, we are overwriting AM_CXXFLAGS to an empty list, hence no flags are taken into account. This ticket should remove that workaround and fix each warning is triggered by the flags defined in AM_CXXFLAGS.

      Definition of done:

      The cpp files in bench/workgen compile with the flags defined by AM_CXXFLAGS and no warnings are generated during the compilation.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: