RFR: 8339120: Use more fine-granular gcc unused warnings [v6]

Magnus Ihse Bursie ihse at openjdk.org
Wed Aug 28 15:17:52 UTC 2024


> Currently, we issue -Wno-unused for all files in gcc, 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.

Magnus Ihse Bursie has updated the pull request incrementally with one additional commit since the last revision:

  Roll back indentation fix

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/20733/files
  - new: https://git.openjdk.org/jdk/pull/20733/files/f4bdce72..88654b97

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=20733&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20733&range=04-05

  Stats: 35 lines in 1 file changed: 0 ins; 0 del; 35 mod
  Patch: https://git.openjdk.org/jdk/pull/20733.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20733/head:pull/20733

PR: https://git.openjdk.org/jdk/pull/20733


More information about the core-libs-dev mailing list