United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7125503 Compiling collectedHeap.cpp fails with -Werror=int-to-pointer-cast with g++ 4.6.1
JDK-7125503 : Compiling collectedHeap.cpp fails with -Werror=int-to-pointer-cast with g++ 4.6.1

Details
Type:
Bug
Submit Date:
2011-12-28
Status:
Closed
Updated Date:
2012-03-29
Project Name:
JDK
Resolved Date:
2012-03-29
Component:
hotspot
OS:
generic
Sub-Component:
build
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs23
Fixed Versions:
hs23 (b10)

Related Reports
Backport:
Backport:

Sub Tasks

Description
Compiling 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]

                                    

Comments
EVALUATION

.
                                     
2012-01-02
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/b6a04c79ccbc
                                     
2012-01-04
EVALUATION

http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/b6a04c79ccbc
                                     
2012-03-22



Hardware and Software, Engineered to Work Together