On 2019/3/19 下午11:09, Martin Buchholz wrote:
Probably it's because glibc deprecated readdir, and we don't have --disable-warnings-as-errors by default?
Yes.
(I think warnings should not be errors except as opt-in by openjdk developers/maintainers)
I agree, especially for deprecated-declarations warnings.
On Tue, Mar 19, 2019 at 7:47 AM Andrew Haley <[email protected] <mailto:[email protected]>> wrote:On 3/19/19 12:25 PM, Jie Fu wrote: > To fix build failures caused by deprecated-declarations warnings, can we > make this change to jdk8u? This is very GCC-version dependent. We really should probe at configure time for these options.-- Andrew HaleyJava Platform Lead Engineer Red Hat UK Ltd. <https://www.redhat.com> EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
