Integrated: 8255975: Fix AArch64 OpenJDK build failure with gcc-5

Hao Sun github.com+16932759+shqking at openjdk.java.net
Thu Nov 12 02:33:56 UTC 2020


On Fri, 6 Nov 2020 07:31:58 GMT, Hao Sun <github.com+16932759+shqking at openjdk.org> wrote:

> As one C++17 feature, the argument 'message' of static_assert can be optional.
> This feature, i.e. static_assert with no message, is supported by gcc-6 or
> higher.[1]
> 
> Add 'message' arguments in order to avoid compilation failures if gcc-5 is used.
> 
> [1] https://gcc.gnu.org/projects/cxx-status.html

This pull request has now been integrated.

Changeset: da48003a
Author:    Hao Sun <hao.sun at arm.com>
Committer: Nick Gasson <ngasson at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/da48003a
Stats:     15 lines in 1 file changed: 0 ins; 0 del; 15 mod

8255975: Fix AArch64 OpenJDK build failure with gcc-5

Reviewed-by: dholmes

-------------

PR: https://git.openjdk.java.net/jdk/pull/1088


More information about the hotspot-runtime-dev mailing list