-
Bug
-
Resolution: Fixed
-
P3
-
24
-
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 inJDK-8339120.
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
- relates to
-
JDK-8339364 AIX build fails: various unused variable and function warnings
- Resolved
-
JDK-8339120 Use more fine-granular gcc unused warnings
- Resolved
-
JDK-8341722 Fix some warnings as errors when building on Linux with toolchain clang
- Resolved
- links to
-
Commit(master) openjdk/jdk/a528c4b3
-
Review(master) openjdk/jdk/20770