On Tue, 27 Aug 2024 20:04:21 GMT, Magnus Ihse Bursie <i...@openjdk.org> wrote:

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

This pull request has now been integrated.

Changeset: 362f9ce0
Author:    Magnus Ihse Bursie <i...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/362f9ce077baa900ed81a0473ec0187efde132ef
Stats:     61 lines in 17 files changed: 39 ins; 0 del; 22 mod

8339120: Use more fine-granular gcc unused warnings

Reviewed-by: jwaters, kbarrett, erikj

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

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

Reply via email to