Patch to fix build breakage with GCC 4.7

Andrew Hughes ahughes at redhat.com
Mon Jan 30 07:33:06 PST 2012


----- Original Message -----
> * Deepak Bhole <dbhole at redhat.com> [2012-01-27 16:48]:
> > Hi,
> > 
> > HotSpot currently fails to build with GCC 4.7 due to 2 points where
> > it
> > is using boolean rather than NULL. GCC 4.6 treated it as a warning
> > --
> > 4.7 treats it as an error.
> > 
> > Attached patch fixes the issue and makes it build again.
> > 
> 
> Sorry, old habit of posting just the patch.. webrev is here for those
> who prefer it:
> http://cr.openjdk.java.net/~dbhole/GCC-4.7-HS23.00/
> 
> Cheers,
> Deepak
> 
> 

The right habit, IMHO ;-)
-- 
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07



More information about the hotspot-dev mailing list