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

Add -Wshadow to compilation

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Build
    • Build
    • Fully Compatible
    • Platforms 2017-07-10

      -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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            2 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated: