RFR: 8347576: Error output in libjsound has non matching format strings

Christoph Langer clanger at openjdk.org
Mon Jan 13 18:55:42 UTC 2025


On Mon, 13 Jan 2025 14:54:09 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> When enabling the jsound ERROR and TRACE reporting (see src/java.desktop/share/native/libjsound/Configure.h https://github.com/openjdk/jdk/blob/master/src/java.desktop/share/native/libjsound/Configure.h#L32 ), we run into some build warnings as errors  (when building on Linux) because at 2 places the format specifiers do not match the number types .

This does not look wrong. However, is %lld the standard format string for printing out jlong values?

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

PR Comment: https://git.openjdk.org/jdk/pull/23076#issuecomment-2587944333


More information about the client-libs-dev mailing list