[PATCH FOR REVIEW]: Fix warning in src/share/vm/adlc/archDesc.cpp

Christian Thalinger Christian.Thalinger at Sun.COM
Sat Sep 5 01:40:12 PDT 2009


Andrew John Hughes wrote:
> 2009/9/4 Paul Hohensee <Paul.Hohensee at sun.com>:
>> Try a cast to (void).
>>
> 
> As I said (or meant to, mental typo), this doesn't fix it.  GCC still complains.

Yeah, there already were some discussions about this new behavior and I
personally don't really like it.  When I want to ignore a return value
the compiler should honor that and go ahead.  Is there a compiler flag
to turn that behavior off?

-- Christian


More information about the hotspot-dev mailing list