mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8081202: Hotspot compile warning: "Invalid suffix on literal; C++11 requires a space between literal and identifier"
Need to add a space between macro identifier and string literal Reviewed-by: stefank, dholmes, kbarrett
This commit is contained in:
parent
912d770499
commit
304b59b0c8
85 changed files with 462 additions and 462 deletions
|
@ -274,7 +274,7 @@ void outputStream::print_data(void* data, size_t len, bool with_ascii) {
|
|||
size_t limit = (len + 16) / 16 * 16;
|
||||
for (size_t i = 0; i < limit; ++i) {
|
||||
if (i % 16 == 0) {
|
||||
indent().print(INTPTR_FORMAT_W(07)":", i);
|
||||
indent().print(INTPTR_FORMAT_W(07) ":", i);
|
||||
}
|
||||
if (i % 2 == 0) {
|
||||
print(" ");
|
||||
|
@ -946,7 +946,7 @@ void defaultStream::start_log() {
|
|||
// %%% Should be: jlong time_ms = os::start_time_milliseconds(), if
|
||||
// we ever get round to introduce that method on the os class
|
||||
xs->head("hotspot_log version='%d %d'"
|
||||
" process='%d' time_ms='"INT64_FORMAT"'",
|
||||
" process='%d' time_ms='" INT64_FORMAT "'",
|
||||
LOG_MAJOR_VERSION, LOG_MINOR_VERSION,
|
||||
os::current_process_id(), (int64_t)time_ms);
|
||||
// Write VM version header immediately.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue