use of MAXFLOAT in share/vm/opto/addnode.cpp

roger hoover rhoover at apple.com
Thu Oct 20 12:53:38 PDT 2011


Yes, it is causing builds to fail with some of apple's experimental compiler/include file combinations:
/SourceCache/JavaJDK16/JavaJDK16-391/hotspot/src/share/vm/opto/addnode.cpp:37:1: error: "MAXFLOAT" redefined

On Oct 20, 2011, at    1:48 PM, Tom Rodriguez wrote:

> No, it looks like an old useless def that could be deleted.  Is it causing problems for you?
> 
> tom
> 
> On Oct 20, 2011, at 12:37 PM, roger hoover wrote:
> 
>> ./src/share/vm/opto/addnode.cpp:37:#define MAXFLOAT        ((float)3.40282346638528860e+38)
>> 
>> Can anyone explain the inclusion of the above definition of MAXFLOAT?
>> 
>> roger
>> 
> 



More information about the hotspot-dev mailing list