Description of fix (original) (raw)

Andrew Haley aph at redhat.com
Tue May 10 10:09:47 PDT 2011


On 05/10/2011 06:00 PM, Azeem Jiva wrote:

Sorry forgot to add that if I try to build a 64bit JVM under Ubuntu 11.04 with GCC 4.5.2 I get the following compile time error:

/home/azeem/hs/hotspot/src/os/linux/vm/oslinux.cpp: In static member function ‘static bool os::Linux::hugetlbfssanitycheck(bool, sizet)’: /home/azeem/hs/hotspot/src/os/linux/vm/oslinux.cpp:2853:43: error: use of assignment suppression and length modifier together in gnuscanf format

The fix is to remove the length modifier.

That shouldn't be an error, though: it's perfectly correct code. I suppose it's a (rather unhelpful) warning that's erroring out because of -Werror.

Andrew.



More information about the hotspot-compiler-dev mailing list