RFR: 8347576: Error output in libjsound has non matching format strings
Matthias Baesken
mbaesken at openjdk.org
Tue Jan 14 08:58:46 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 .
Regarding jlong-format, in HS globalDefinitions.hpp we have this
#define INT64_FORMAT "%" PRId64
....
#ifndef JLONG_FORMAT
#define JLONG_FORMAT INT64_FORMAT
Not sure we want to use that here?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23076#issuecomment-2589354449
More information about the client-libs-dev
mailing list