build error on linux, nmethod.cpp
Christian Thalinger
Christian.Thalinger at Sun.COM
Mon Jan 4 05:09:21 PST 2010
On Sat, 2010-01-02 at 06:11 -0800, Deneau, Tom wrote:
> When I pulled from http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot
> and then tried to compile on linux, I got the following new error...
>
> cc1plus: warnings being treated as errors
> /hotspot-comp-latest/src/share/vm/code/nmethod.cpp: In member function 'bool nmethod::make_not_entrant_or_zombie(int)':
> /hotspot-comp-latest/src/share/vm/code/nmethod.cpp:1197: warning: comparison between signed and unsigned integer expressions
>
> I am using
> gcc version 4.1.2 20070502 (Red Hat 4.1.2-12)
>
> # hg tip
> changeset: 1102:1ea456c6f2b7
> tag: tip
> parent: 1101:cf9a9a50e763
> parent: 1098:032260830071
> user: iveresov
> date: Tue Dec 22 17:56:03 2009 -0800
> summary: Merge
This was introduced by:
http://hg.openjdk.java.net/jdk7/hotspot-comp/hotspot/rev/032260830071
Maybe we should change the argument type to unsigned int.
-- Christian
More information about the hotspot-compiler-dev
mailing list