mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 18:44:38 +02:00
8238281: Raise minimum gcc version needed to 5.0
Reviewed-by: erikj, dholmes, jwilhelm, mbaesken
This commit is contained in:
parent
d6aeda7b24
commit
ce28a96c28
12 changed files with 21 additions and 70 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue