On Mon, 23 Feb 2026 08:46:56 GMT, Matthias Baesken <[email protected]> wrote:
> Seems we have warnings (potentially as error) for unused functions when using > gcc and clang configured in the autoconf files. But for clang those warnings > are disabled for hotspot. > It would be better to have them enabled for hotspot with gcc AND clang, so > that developers working mostly on macOS cannot introduce those unused > functions and destroy the Linux/gcc builds. This pull request has now been integrated. Changeset: 0c09d2e2 Author: Matthias Baesken <[email protected]> URL: https://git.openjdk.org/jdk/commit/0c09d2e222e6332a69f61524496ae2de03d3855f Stats: 4 lines in 2 files changed: 1 ins; 1 del; 2 mod 8377880: Enable unused function warnings in hotspot with clang too Reviewed-by: azafari, syan, clanger, lucy ------------- PR: https://git.openjdk.org/jdk/pull/29878
