ruby-changes:56413
From: Nobuyoshi <ko1@a...>
Date: Thu, 11 Jul 2019 12:01:23 +0900 (JST)
Subject: [ruby-changes:56413] Nobuyoshi Nakada: 26d674fdc7 (master): Suppress warning on x64-mingw
https://git.ruby-lang.org/ruby.git/commit/?id=26d674fdc7 From 26d674fdc73cec3777d1a719b42ccbe54c18a966 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Thu, 11 Jul 2019 11:58:35 +0900 Subject: Suppress warning on x64-mingw diff --git a/gc.c b/gc.c index 2268dd7..4e1e4ee 100644 --- a/gc.c +++ b/gc.c @@ -9390,7 +9390,7 @@ rb_memerror(void) https://github.com/ruby/ruby/blob/trunk/gc.c#L9390 if (0) { // Print out pid, sleep, so you can attach debugger to see what went wrong: - fprintf(stderr, "rb_memerror pid=%d\n", getpid()); + fprintf(stderr, "rb_memerror pid=%"PRI_PIDT_PREFIX"d\n", getpid()); sleep(60); } -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/