Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8275008: gtest build failure due to stringop-overflow warning with gcc11
Backport-of: c55dd365e3463670697b09de0ff70877203e5a69
  • Loading branch information
DamonFool committed Oct 12, 2021
1 parent 500ed35 commit c5a871c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions make/hotspot/lib/CompileGtest.gmk
@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -101,7 +101,7 @@ $(eval $(call SetupJdkLibrary, BUILD_GTEST_LIBJVM, \
CFLAGS_windows := -EHsc, \
CFLAGS_macosx := -DGTEST_OS_MAC=1, \
DISABLED_WARNINGS_gcc := $(DISABLED_WARNINGS_gcc) \
undef, \
undef stringop-overflow, \
DISABLED_WARNINGS_clang := $(DISABLED_WARNINGS_clang) \
undef switch format-nonliteral tautological-undefined-compare \
self-assign-overloaded, \
Expand Down

1 comment on commit c5a871c

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.