RFR: 8275008: gtest build failure due to stringop-overflow warning with gcc11
Jie Fu
jiefu at openjdk.java.net
Mon Oct 11 02:04:06 UTC 2021
On Mon, 11 Oct 2021 00:47:38 GMT, David Holmes <dholmes at openjdk.org> wrote:
> Hi Jie,
>
> Can we not just disable the warning in this specific test?
>
> Thanks, David
Thanks @dholmes-ora for your review.
According to this comment [1], gtest source code warnings are disabled in build script.
Maybe, it would be better to also follow that style here.
What do you think?
Thanks.
[1] https://github.com/openjdk/jdk/blob/master/make/hotspot/lib/CompileGtest.gmk#L84
-------------
PR: https://git.openjdk.java.net/jdk/pull/5881
More information about the build-dev
mailing list