Description of fix

Andrew Haley aph at
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/os_linux.cpp: In static member 
> function ‘static bool os::Linux::hugetlbfs_sanity_check(bool, size_t)’:
> /home/azeem/hs/hotspot/src/os/linux/vm/os_linux.cpp:2853:43: error: use 
> of assignment suppression and length modifier together in gnu_scanf 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.


More information about the hotspot-compiler-dev mailing list