8238281: Raise minimum gcc version needed to 5.0

Reviewed-by: erikj, dholmes, jwilhelm, mbaesken
This commit is contained in:
Magnus Ihse Bursie 2020-02-05 10:45:39 +01:00
parent d6aeda7b24
commit ce28a96c28
12 changed files with 21 additions and 70 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1997, 2020, 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
@ -2783,7 +2783,7 @@ void jio_print(const char* s, size_t len) {
if (Arguments::vfprintf_hook() != NULL) {
jio_fprintf(defaultStream::output_stream(), "%.*s", (int)len, s);
} else {
// Make an unused local variable to avoid warning from gcc 4.x compiler.
// Make an unused local variable to avoid warning from gcc compiler.
size_t count = ::write(defaultStream::output_fd(), s, (int)len);
}
}