Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-29601

Add -Wshadow to compilation

    XMLWordPrintable

    Details

      Description

      -Wshadow is supported by both Clang and GCC, and seems like a reasonable warning to add. AFAIK there are only a few violations of this warning today – which should be easily fixable.

      This could be done as part of a larger effort to evaluate newly added warnings to recent versions of clang/gcc.

        Attachments

          Activity

            People

            Assignee:
            backlog-server-devplatform Backlog - Server Development Platform Team (SDP)
            Reporter:
            milkie Eric Milkie
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated: