Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8339156

Use more fine-granular clang unused warnings

XMLWordPrintable

    • b14

      Currently, we issue -Wno-unused for all files in clang, which is a rather big sledgehammer to get rid of some warnings that proliferate in a few areas of the build.

      We should instead leave -Wunused turned on (as done by -Wall) and use a much more fine-grained approach to disabling specific warnings in specific files or libraries.

      This is similar to what has been done for gcc in JDK-8339120.

            ihse Magnus Ihse Bursie
            ihse Magnus Ihse Bursie
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: