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
Reviewed-by: phh, clanger
Backport-of: c55dd365e3463670697b09de0ff70877203e5a69
  • Loading branch information
lutkerd authored and Paul Hohensee committed Aug 23, 2022
1 parent 317f79c commit e0d592b
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, 2018, 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 @@ -77,7 +77,7 @@ $(eval $(call SetupNativeCompilation, BUILD_GTEST_LIBJVM, \
CFLAGS_windows := -EHsc, \
CFLAGS_solaris := -DGTEST_HAS_EXCEPTIONS=0 -library=stlport4 +d, \
CFLAGS_macosx := -DGTEST_OS_MAC=1, \
DISABLED_WARNINGS_gcc := undef, \
DISABLED_WARNINGS_gcc := undef stringop-overflow, \
DISABLED_WARNINGS_clang := undef switch format-nonliteral \
tautological-undefined-compare $(BUILD_LIBJVM_DISABLED_WARNINGS_clang), \
DISABLED_WARNINGS_solstudio := identexpected, \
Expand Down

1 comment on commit e0d592b

@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.