Review request (XS): 7125503: Compiling collectedHeap.cpp fails with -Werror=int-to-pointer-cast with g++ 4.6.1
Stefan Karlsson
stefan.karlsson at oracle.com
Wed Dec 28 19:06:32 UTC 2011
http://cr.openjdk.java.net/~stefank/7125503/webrev.01
Updated webrev after some offline comments from Tony.
StefanK
On 12/28/2011 04:15 PM, Stefan Karlsson wrote:
> http://cr.openjdk.java.net/~stefank/7125503/webrev.00/
>
> Compiling hotspot with g++ 4.6.1 on Ubuntu 11.10 fails when compiling
> collectedHeap.cpp.
>
> src/share/vm/gc_interface/collectedHeap.cpp: In static member function
> ‘static void CollectedHeap::test_is_in()’:
> src/share/vm/gc_interface/collectedHeap.cpp:485:3: error: cast to
> pointer from integer of different size [-Werror=int-to-pointer-cast]
More information about the hotspot-gc-dev
mailing list