RFR(S): 8138733: Fix build: gcc < 4.8 doesn't grok -Wno-format-zero-length added in 8080775
goetz.lindenmaier at sap.com
Fri Oct 2 10:58:51 UTC 2015
We appreciate change 8080775 a lot, but it breaks the build with older gcc.
They don't know the option -Wno-format-zero-length.
To fix this, I only add -Wno-format-zero-length for gcc >= 4.8.
For the other gccs, I remove ATTRIBUTE_PRINTF from the declaration of
This is no big deal, as correctness is guaranteed once it's compiled with
I had to fix one fatal() in the ppc files, too.
Please review this change. I please need a sponsor.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-compiler-dev