Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-4904

Add -Wshadow to default compiler options.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: sometime
    • Component/s: Core
    • Labels:
      None

      Description

      To catch problems like TS-4900, add -Wshadow to the default compiler options. I tried this and it produces a ton of warnings.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jamespeach James Peach
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: