RFR: [8u] Build failed on Ubuntu 18.04 due to deprecated-declarations warnings
fujie at loongson.cn
Thu Mar 21 01:10:23 UTC 2019
On 2019/3/20 下午11:53, Andrew John Hughes wrote:
> On 19/03/2019 15:09, Martin Buchholz wrote:
>> Probably it's because glibc deprecated readdir, and we don't have
>> --disable-warnings-as-errors by default?
>> (I think warnings should not be errors except as opt-in by openjdk
> I agree, and we've implemented it that way downstream in IcedTea.
> At present, 8u doesn't even have the option to toggle this in the
> HotSpot build. I can certainly look at providing such an option and that
> would be a better, more general fix than turning off one specific warning.
> Note that warnings as errors is still the default in jdk/jdk unless xlc
> is used:
More information about the build-dev