[Bug 3593] New: [IcedTea8] s390 needs to use '%z' format specifier for size_t arguments as size_t != int
bugzilla-daemon at icedtea.classpath.org
bugzilla-daemon at icedtea.classpath.org
Sun May 20 03:44:21 UTC 2018
https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3593
Bug ID: 3593
Summary: [IcedTea8] s390 needs to use '%z' format specifier for
size_t arguments as size_t != int
Product: IcedTea
Version: 3.x-hg
Hardware: s390
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: IcedTea
Assignee: gnu.andrew at redhat.com
Reporter: gnu.andrew at redhat.com
CC: unassigned at icedtea.classpath.org
/builddir/build/BUILD/icedtea-3.8.0pre02/openjdk/hotspot/src/share/vm/gc_implementation/shared/allocationStats.hpp:
In member function 'void AllocationStats::compute_desired(size_t, float, float,
float)':
/builddir/build/BUILD/icedtea-3.8.0pre02/openjdk/hotspot/src/share/vm/gc_implementation/shared/allocationStats.hpp:125:137:
error: format '%d' expects argument of type 'int', but argument 3 has type
'ssize_t {aka long int}' [-Werror=format=]
demand, old_rate, rate,
new_rate, old_desired, _desired);
^
/builddir/build/BUILD/icedtea-3.8.0pre02/openjdk/hotspot/src/share/vm/gc_implementation/shared/allocationStats.hpp:125:137:
error: format '%d' expects argument of type 'int', but argument 7 has type
'ssize_t {aka long int}' [-Werror=format=]
/builddir/build/BUILD/icedtea-3.8.0pre02/openjdk/hotspot/src/share/vm/gc_implementation/shared/allocationStats.hpp:125:137:
error: format '%d' expects argument of type 'int', but argument 8 has type
'ssize_t {aka long int}' [-Werror=format=]
cc1plus: all warnings being treated as errors
gmake[7]: *** [abstractCompiler.o] Error 1
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20180520/504b06b8/attachment.html>
More information about the distro-pkg-dev
mailing list