From 12bc4717fd0885888f0b3d8795f56309ad0952e3 Mon Sep 17 00:00:00 2001 From: Jay Krell Date: Thu, 5 Dec 2019 18:55:56 -0800 Subject: [PATCH] [cxx] Remove use of register keyword. (#18057) [cxx] Remove use of register keyword. https://jenkins.mono-project.com/job/test-mono-pull-request-wasm/19408/parsed_console/log_content.html ``` /mnt/jenkins/workspace/test-mono-pull-request-wasm/mono/utils/mono-md5.c:259:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register guint32 a, b, c, d; ^~~~~~~~~ /mnt/jenkins/workspace/test-mono-pull-request-wasm/mono/utils/mono-md5.c:259:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register guint32 a, b, c, d; ^~~~~~~~~ /mnt/jenkins/workspace/test-mono-pull-request-wasm/mono/utils/mono-md5.c:259:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register guint32 a, b, c, d; ^~~~~~~~~ /mnt/jenkins/workspace/test-mono-pull-request-wasm/mono/utils/mono-md5.c:259:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register guint32 a, b, c, d; ^~~~~~~~~ 4 warnings generated. ``` --- mono/utils/mono-md5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mono/utils/mono-md5.c b/mono/utils/mono-md5.c index 791ce859b08..ab1210707fb 100644 --- a/mono/utils/mono-md5.c +++ b/mono/utils/mono-md5.c @@ -256,7 +256,7 @@ mono_md5_final (MonoMD5Context *ctx, guchar digest[16]) static void md5_transform (guint32 buf[4], const guint32 in[16]) { - register guint32 a, b, c, d; + guint32 a, b, c, d; a = buf[0]; b = buf[1]; -- 2.11.4.GIT