Uploaded image for project: 'Request For Comments'
  1. Request For Comments
  2. RFC-174

Suppress gcc warnings about "unused local typedefs"

    Details

    • Type: RFC
    • Status: Implemented
    • Resolution: Done
    • Component/s: DM
    • Labels:
      None

      Description

      I propose adding -Wno-unused-local-typedefs to our gcc options. This cleans up the build significantly, because there's a flood of warnings of this type coming from boost. If we suppress those, it might become possible to notice warnings that we care about.

      This option is supported by gcc >= 4.8, so I think it's safe because we already require that because of our use of C++11.

      As an example, I built meas_extensions_shapeHSM with and without this flag. Currently, the build outputs 369 lines. With this flag, the build outputs 57 lines.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                price Paul Price
                Reporter:
                price Paul Price
                Watchers:
                Jim Bosch, John Swinbank, Kian-Tat Lim, Paul Price, Pim Schellart [X] (Inactive), Tim Jenness
              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Planned End:

                  Summary Panel