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: dholmes, ihse
  • Loading branch information
DamonFool committed Oct 11, 2021
1 parent 3edee1e commit c55dd36
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

3 comments on commit c55dd36

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

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

@DamonFool
Copy link
Member Author

Choose a reason for hiding this comment

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

/backport jdk17u

@openjdk
Copy link

@openjdk openjdk bot commented on c55dd36 Oct 12, 2021

Choose a reason for hiding this comment

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

@DamonFool @DamonFool the backport was successfully created on the branch DamonFool-backport-c55dd365 in my personal fork of openjdk/jdk17u. To create a pull request with this backport targeting openjdk/jdk17u:master, just click the following link:

➡️ Create pull request

The title of the pull request is automatically filled in correctly and below you find a suggestion for the pull request body:

Hi all,

this pull request contains a backport of commit c55dd365 from the openjdk/jdk repository.

The commit being backported was authored by Jie Fu on 11 Oct 2021 and was reviewed by David Holmes and Magnus Ihse Bursie.

Thanks!

If you need to update the source branch of the pull then run the following commands in a local clone of your personal fork of openjdk/jdk17u:

$ git fetch https://github.com/openjdk-bots/jdk17u DamonFool-backport-c55dd365:DamonFool-backport-c55dd365
$ git checkout DamonFool-backport-c55dd365
# make changes
$ git add paths/to/changed/files
$ git commit --message 'Describe additional changes made'
$ git push https://github.com/openjdk-bots/jdk17u DamonFool-backport-c55dd365

Please sign in to comment.